diff options
author | NateMcCurdy <nate.mccurdy@puppetlabs.com> | 2015-03-27 01:42:56 +0300 |
---|---|---|
committer | NateMcCurdy <nate.mccurdy@puppetlabs.com> | 2015-03-27 01:42:56 +0300 |
commit | 04e6172db1aaf4ae4944f48e30a7530cb1fb8008 (patch) | |
tree | 1fd2e49398681ddd273fc407575bfc17209f5d16 /powerlevel9k.zsh-theme | |
parent | 443c1dbc8fc80fdec3a3a8ca00a8291a5b9e2b17 (diff) |
Remove the leading whitespace from the left prompt.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 4 |
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 |