summaryrefslogtreecommitdiff
path: root/.bashprompt
diff options
context:
space:
mode:
Diffstat (limited to '.bashprompt')
-rw-r--r--.bashprompt6
1 files changed, 2 insertions, 4 deletions
diff --git a/.bashprompt b/.bashprompt
index 6eb6e3b..1b300ce 100644
--- a/.bashprompt
+++ b/.bashprompt
@@ -106,10 +106,8 @@ __fontify ()
__set-prompt ()
{
- BUILDING_PS1=t
-
local last_status=$1
-
+ BUILDING_PS1=t
PS1=''
if [ ${last_status} -ne 0 ]
@@ -131,7 +129,7 @@ __set-prompt ()
PS1+=$(__fontify '\$' dim)
PS1+=' '
- BUILDING_PS1=
+ unset BUILDING_PS1
}
__current-column ()