summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash-powerline.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 047631c..556391f 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -74,9 +74,9 @@ __powerline() {
# Check the exit code of the previous command and display different
# colors in the prompt accordingly.
if [ $? -eq 0 ]; then
- local symbol="$COLOR_SUCCESS$PS_SYMBOL $RESET"
+ local symbol="$COLOR_SUCCESS $PS_SYMBOL $RESET"
else
- local symbol="$COLOR_FAILURE$PS_SYMBOL $RESET"
+ local symbol="$COLOR_FAILURE $PS_SYMBOL $RESET"
fi
local cwd="$COLOR_CWD\w$RESET"