summaryrefslogtreecommitdiff
path: root/.bash-powerline.sh
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-10-06 13:19:05 +0200
committerMarc Vertes <mvertes@free.fr>2020-10-06 13:19:05 +0200
commitdcb0961bcb3ab4b11ccd1eae0f49bf3417c24cb5 (patch)
tree004558dd3202bd09cf42611c577511a32ffeeb61 /.bash-powerline.sh
parent311148a5987d6e7b1a5788db5991bb9e3bec56d3 (diff)
bash-powerline: restore space before prompt char
Diffstat (limited to '.bash-powerline.sh')
-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"