mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Added a new Icon to the dir-segment.
This commit is contained in:
parent
b443c9be4a
commit
7535f62746
1 changed files with 3 additions and 1 deletions
|
@ -90,6 +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' #
|
||||||
VCS_UNTRACKED_ICON "\UE16C" #
|
VCS_UNTRACKED_ICON "\UE16C" #
|
||||||
VCS_UNSTAGED_ICON "\UE17C" #
|
VCS_UNSTAGED_ICON "\UE17C" #
|
||||||
VCS_STAGED_ICON "\UE168" #
|
VCS_STAGED_ICON "\UE168" #
|
||||||
|
@ -130,6 +131,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
FREEBSD_ICON 'BSD'
|
FREEBSD_ICON 'BSD'
|
||||||
LINUX_ICON 'Lx'
|
LINUX_ICON 'Lx'
|
||||||
SUNOS_ICON 'Sun'
|
SUNOS_ICON 'Sun'
|
||||||
|
HOME_ICON ''
|
||||||
VCS_UNTRACKED_ICON '?'
|
VCS_UNTRACKED_ICON '?'
|
||||||
VCS_UNSTAGED_ICON "\u25CF" # ●
|
VCS_UNSTAGED_ICON "\u25CF" # ●
|
||||||
VCS_STAGED_ICON "\u271A" # ✚
|
VCS_STAGED_ICON "\u271A" # ✚
|
||||||
|
@ -506,7 +508,7 @@ prompt_dir() {
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$1_prompt_segment "$0" "blue" "$DEFAULT_COLOR" "$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