aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-03-27 01:52:07 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-03-27 01:52:07 +0300
commita825d76d15ecd2bfc3b1ba43725e5b82fadffd05 (patch)
tree1fd2e49398681ddd273fc407575bfc17209f5d16
parent482b4b2041783764e087a4a0086dd0379f8d4383 (diff)
parent04e6172db1aaf4ae4944f48e30a7530cb1fb8008 (diff)
Merge pull request #5 from natemccurdy/remove_whitespace
Remove the leading whitespace from the left prompt.
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 11c1249b..af40c410 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -52,9 +52,9 @@ left_prompt_segment() {
[[ -n $1 ]] && bg="%K{$1}" || bg="%k"
[[ -n $2 ]] && fg="%F{$2}" || fg="%f"
if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then
- echo -n " %{$bg%F{$CURRENT_BG}%}$LEFT_SEGMENT_SEPARATOR%{$fg%} "
+ echo -n "%{$bg%F{$CURRENT_BG}%}$LEFT_SEGMENT_SEPARATOR%{$fg%} "
else
- echo -n " %{$bg%}%{$fg%} "
+ echo -n "%{$bg%}%{$fg%} "
fi
CURRENT_BG=$1
[[ -n $3 ]] && echo -n $3