mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
* usr/share/byobu/profiles/bashrc, usr/share/man/man1/byobu-prompt.1:
- only display error code when non-zero - document behavior in manpage
This commit is contained in:
parent
493cebb120
commit
68bfc41e75
3 changed files with 10 additions and 4 deletions
|
@ -10,6 +10,9 @@ byobu-prompt, byobu-enable-prompt, byobu-disable-prompt \- add and remove a nice
|
|||
\fBbyobu-disable-prompt\fP
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
Byobu provides a special PS1 prompt command, compatible with Bash shells. It will display the previous command's exit code, if it's not zero. It will use 3 separate colors for the local username, hostname, and the current working directory.
|
||||
|
||||
\fBbyobu-enable-prompt\fP will add one line to your \fI~/.bashrc\fP.
|
||||
|
||||
You can safely remove the line from your \fI~/.bashrc\fP, which ends in \fB#byobu-prompt\fP.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue