From 3ba51d668e439adde8ab0eb735d30683dfd12b30 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 27 May 2014 17:03:29 +1200 Subject: Be more specific about prompt part appearance --- bash/bashrc.d/prompt.bash | 4 ++-- 1 file 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 -- cgit v1.2.3