mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
powerlevel-9k: more spacing fixes
This commit is contained in:
parent
d86013365f
commit
ad10bff2ec
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
# powerlevel9k Theme
|
# powerlevel9k Theme
|
||||||
# https://github.com/bhilburn/oh-my-zsh/blob/master/themes/powerlevel9k.zsh-theme
|
# https://github.com/bhilburn/oh-my-zsh/blob/master/themes/powerlevel9k.zsh-theme
|
||||||
#
|
#
|
||||||
# This theme is based off of agnoster's Theme:
|
# This theme was inspired by agnoster's Theme:
|
||||||
# https://gist.github.com/3712874
|
# https://gist.github.com/3712874
|
||||||
#
|
#
|
||||||
# In order for this theme to render correctly, you will need a
|
# In order for this theme to render correctly, you will need a
|
||||||
|
@ -51,7 +51,7 @@ left_prompt_segment() {
|
||||||
if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then
|
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
|
else
|
||||||
echo -n "%{$bg%}%{$fg%} "
|
echo -n " %{$bg%}%{$fg%} "
|
||||||
fi
|
fi
|
||||||
CURRENT_BG=$1
|
CURRENT_BG=$1
|
||||||
[[ -n $3 ]] && echo -n $3
|
[[ -n $3 ]] && echo -n $3
|
||||||
|
@ -62,7 +62,7 @@ left_prompt_end() {
|
||||||
if [[ -n $CURRENT_BG ]]; then
|
if [[ -n $CURRENT_BG ]]; then
|
||||||
echo -n " %{%k%F{$CURRENT_BG}%}$LEFT_SEGMENT_SEPARATOR"
|
echo -n " %{%k%F{$CURRENT_BG}%}$LEFT_SEGMENT_SEPARATOR"
|
||||||
else
|
else
|
||||||
echo -n "%{%k%}"
|
echo -n " %{%k%}"
|
||||||
fi
|
fi
|
||||||
echo -n "%{%f%}"
|
echo -n "%{%f%}"
|
||||||
CURRENT_BG=''
|
CURRENT_BG=''
|
||||||
|
|
Loading…
Reference in a new issue