From ea39a38f64f0f2f752e1776038abb15332d98df1 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 4 Oct 2020 23:37:00 +0200 Subject: bash-powerline.sh: shorter prompt --- .bash-powerline.sh | 4 ++-- 1 file 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" -- cgit v1.2.3