mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-18 04:04:43 +00:00
powerlevel-9k: more spacing fixes
This commit is contained in:
parent
d86013365f
commit
ad10bff2ec
@ -3,7 +3,7 @@
|
||||
# powerlevel9k 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
|
||||
#
|
||||
# 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
|
||||
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
|
||||
@ -62,7 +62,7 @@ left_prompt_end() {
|
||||
if [[ -n $CURRENT_BG ]]; then
|
||||
echo -n " %{%k%F{$CURRENT_BG}%}$LEFT_SEGMENT_SEPARATOR"
|
||||
else
|
||||
echo -n "%{%k%}"
|
||||
echo -n " %{%k%}"
|
||||
fi
|
||||
echo -n "%{%f%}"
|
||||
CURRENT_BG=''
|
||||
|
Loading…
Reference in New Issue
Block a user