diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-10-06 13:19:05 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-10-06 13:19:05 +0200 |
| commit | d6f29a6f21fdc418d3ab5edb782bbb38afbf1f47 (patch) | |
| tree | ad8e969bd8a4b6e0fca8a201bd0a206b392627d6 /.bash-powerline.sh | |
| parent | dc2b69508c58085ece7be617ae05ebaab5b7ecb2 (diff) | |
bash-powerline: restore space before prompt char
Diffstat (limited to '.bash-powerline.sh')
| -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 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" |
