While that is okay and totally functional it displays a lot of info that I already know and don't need to see every time I pop into a terminal. So I changed it to show the time and the working directory only.
It now looks like this:
If you would like to simplify your prompt it is an easy fix:
When following this tutorial enter the code (the highlighted blue text) exactly as shown.
Do not enter the + signs IE press ctrl alt t not ctrl + alt + t
- Open a terminal ctrl+alt+t
- Type in the following; ~:$vim .bashrc replace vim with the text editor of your choice.
- Once the file is open find the first line that starts with PS1 (in vim you would do this by entering the following: /PS1 then press enter)
- Press the n key to cycle through all instances of PS1 you want to be at the first (top) listing.
- Now change what is there to the following: PS1="\t_\w:$" (In vim you can position your cursor at the start of the line type c$ and type PS1="\t_\w:$" then hit the escape key)
- Type shift+: your cursor will move to the bottom left of the terminal and you will see the :
- Type wq and press enter.
- Type exit
- That's it relaunch the terminal ctrl+alt+t to view your new command prompt.