From dcb0961bcb3ab4b11ccd1eae0f49bf3417c24cb5 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 6 Oct 2020 13:19:05 +0200 Subject: bash-powerline: restore space before prompt char --- .bash-powerline.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.bash-powerline.sh') 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" -- cgit v1.2.3