I see lots of tutorials for adjusting the appearance of the prompt in bash (like here), but where can I find the documentation for the format of the PS1
variable?
Type info bash
(if you have the "bash" info documentation installed on your system), search for PS1
, then follow the link to *Note Controlling a Prompt::
.
That section of the manual is online here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With