summaryrefslogtreecommitdiff
path: root/.bash-powerline.sh
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-10-04 23:37:00 +0200
committerMarc Vertes <mvertes@free.fr>2020-10-04 23:37:00 +0200
commita8bece1856d920fd7398d33275e2db034cfb3868 (patch)
tree38f1c1cdbc6c8c98c17bb96cbddfc4ccb6adb1ea /.bash-powerline.sh
parent747aeecbef263b1006247e22602a06ded79aaf28 (diff)
bash-powerline.sh: shorter prompt
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 232d7a5..dffbf41 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"