mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Whitespaces should belong to the Icon as they form an entity. Therefore the home-icon in the awesome-patched mode should define its whitespace, so that in normal mode no extra whitespace is shown.
This commit is contained in:
parent
6e4d24f50d
commit
b5e5ac98f9
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
FREEBSD_ICON $'\U1F608 ' # 😈
|
FREEBSD_ICON $'\U1F608 ' # 😈
|
||||||
LINUX_ICON $'\U1F427 ' # 🐧
|
LINUX_ICON $'\U1F427 ' # 🐧
|
||||||
SUNOS_ICON $'\U1F31E ' # 🌞
|
SUNOS_ICON $'\U1F31E ' # 🌞
|
||||||
HOME_ICON $'\UE12C' #
|
HOME_ICON $'\UE12C ' #
|
||||||
VCS_UNTRACKED_ICON "\UE16C" #
|
VCS_UNTRACKED_ICON "\UE16C" #
|
||||||
VCS_UNSTAGED_ICON "\UE17C" #
|
VCS_UNSTAGED_ICON "\UE17C" #
|
||||||
VCS_STAGED_ICON "\UE168" #
|
VCS_STAGED_ICON "\UE168" #
|
||||||
|
@ -504,7 +504,7 @@ prompt_dir() {
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$1_prompt_segment "$0" "blue" "$DEFAULT_COLOR" "$(print_icon 'HOME_ICON') $current_path"
|
$1_prompt_segment "$0" "blue" "$DEFAULT_COLOR" "$(print_icon 'HOME_ICON')$current_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Command number (in local history)
|
# Command number (in local history)
|
||||||
|
|
Loading…
Reference in a new issue