From 43f6b8cf88c8151a6dfe7b7c125ca973ce9d782b Mon Sep 17 00:00:00 2001 From: I'm Liam Date: Thu, 28 Dec 2017 11:32:00 +0000 Subject: [PATCH] Add space before separator character When using this theme, the text from things such as the present working directory ends up feeling very squished against the separator character, at times making the text a little more less clear and harder to read. This PR adds a space before the separator character is used, to keep everything nicely spaced out and looking consistent. --- theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.bash b/theme.bash index 98ec135..d815f05 100644 --- a/theme.bash +++ b/theme.bash @@ -216,7 +216,7 @@ function __powerline_prompt_command { [[ -n "${info}" ]] && __powerline_left_segment "${info}" done - [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+="$(__color - ${LAST_SEGMENT_COLOR})${separator_char}$(__color)" + [[ -n "${LEFT_PROMPT}" ]] && LEFT_PROMPT+=" $(__color - ${LAST_SEGMENT_COLOR})${separator_char}$(__color)" PS1="${LEFT_PROMPT} " ## cleanup ##