diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-10-04 23:37:00 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-10-04 23:37:00 +0200 |
| commit | ea39a38f64f0f2f752e1776038abb15332d98df1 (patch) | |
| tree | da039e391d2b7ad5b7afbb3c384044a925b814c8 | |
| parent | 57f1105837aaf407b3f0e2485e6666668ed2ef28 (diff) | |
bash-powerline.sh: shorter prompt
| -rw-r--r-- | .bash-powerline.sh | 4 |
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" |
