diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-05-27 17:03:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-05-27 17:03:29 +1200 |
commit | 3ba51d668e439adde8ab0eb735d30683dfd12b30 (patch) | |
tree | 46947613190238fc75db7ab0a8169e8e60fbc21b | |
parent | Correct comment about unused TTY var (diff) | |
download | dotfiles-3ba51d668e439adde8ab0eb735d30683dfd12b30.tar.gz dotfiles-3ba51d668e439adde8ab0eb735d30683dfd12b30.zip |
Be more specific about prompt part appearance
-rw-r--r-- | bash/bashrc.d/prompt.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index ed161306..f1e51d78 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -214,14 +214,14 @@ prompt() { prompt git || prompt svn || prompt hg ;; - # Show the return status of the last command in angle brackets + # Show return status of previous command in angle brackets, if not zero ret) if ((ret > 0)) ; then printf '<%d>' "$ret" fi ;; - # Show the count of background jobs in curly brackets + # Show the count of background jobs in curly brackets, if not zero job) local -i jobc=0 while read -r _ ; do |