aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-08-26 18:35:25 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-08-27 19:45:02 +0300
commit7535f62746c9d172d14adfe437a8573e682a12da (patch)
tree2b84cf9ef22111e7812dcf03ba6904b225ffe135 /powerlevel9k.zsh-theme
parentb443c9be4a718a0b2d59902eb162c3906ee38735 (diff)
Added a new Icon to the dir-segment.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 3 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index b7b7858f..56ecb611 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -90,6 +90,7 @@ case $POWERLEVEL9K_MODE in
FREEBSD_ICON $'\U1F608 ' # 😈
LINUX_ICON $'\U1F427 ' # 🐧
SUNOS_ICON $'\U1F31E ' # 🌞
+ HOME_ICON $'\UE12C' # 
VCS_UNTRACKED_ICON "\UE16C" # 
VCS_UNSTAGED_ICON "\UE17C" # 
VCS_STAGED_ICON "\UE168" # 
@@ -130,6 +131,7 @@ case $POWERLEVEL9K_MODE in
FREEBSD_ICON 'BSD'
LINUX_ICON 'Lx'
SUNOS_ICON 'Sun'
+ HOME_ICON ''
VCS_UNTRACKED_ICON '?'
VCS_UNSTAGED_ICON "\u25CF" # ●
VCS_STAGED_ICON "\u271A" # ✚
@@ -506,7 +508,7 @@ prompt_dir() {
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)