You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to show PS1 prompt in one line, and put my command in second line, so that I can see all the infomation and do not have to type command into two lines, how could I get this feature?
The text was updated successfully, but these errors were encountered:
You can use "\n" to break a line in your PS1 variable.
For example setting your PS1 variable like this in your .bashrc: PS1='\u@\h:\w\n\$ '
will give you something like this:
username@hostname:/working/directory
$ (your commands go here)
I'd like to show PS1 prompt in one line, and put my command in second line, so that I can see all the infomation and do not have to type command into two lines, how could I get this feature?
The text was updated successfully, but these errors were encountered: