summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-07-09 04:50:07 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-07-09 04:50:07 +0300
commitb455526ecceda50341f85328d332cf4906ebde50 (patch)
tree828eba59a20732bc0a5c9a79dbe134eb85ef7141 /powerlevel9k.zsh-theme
parent4bbbefd5000707a4f9d91644042eae33fcfedd6f (diff)
parent2538e5579b2b69cf77342957b5fd436ccc4b20a2 (diff)
Merge pull request #46 from dritter/dritter/branch_icon
Add flag to enable / disable branch icon in VCS prompt. Defaults to `off`.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme16
1 files changed, 8 insertions, 8 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 07ecd254..83d7314c 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -75,8 +75,7 @@ case $POWERLEVEL9K_MODE in
VCS_TAG_ICON="\uE817 " # 
VCS_BOOKMARK_ICON="\uE87B" # 
VCS_COMMIT_ICON="\uE821 " # 
- #VCS_BRANCH_ICON=" \uE220" # 
- VCS_BRANCH_ICON=''
+ VCS_BRANCH_ICON=" \uE220" # 
VCS_REMOTE_BRANCH_ICON="\uE804" # 
VCS_GIT_ICON="\uE20E " # 
VCS_HG_ICON="\uE1C3 " # 
@@ -101,8 +100,7 @@ case $POWERLEVEL9K_MODE in
VCS_TAG_ICON=''
VCS_BOOKMARK_ICON="\u263F" # ☿
VCS_COMMIT_ICON=''
- #VCS_BRANCH_ICON='@'
- VCS_BRANCH_ICON=''
+ VCS_BRANCH_ICON='@'
VCS_REMOTE_BRANCH_ICON="\u2192" # →
VCS_GIT_ICON='Git'
VCS_HG_ICON='HG'
@@ -133,8 +131,7 @@ case $POWERLEVEL9K_MODE in
VCS_TAG_ICON="\uE817 " # 
VCS_BOOKMARK_ICON="\uE87B" # 
VCS_COMMIT_ICON="\uE821 " # 
- #VCS_BRANCH_ICON=" \uE220" # 
- VCS_BRANCH_ICON=''
+ VCS_BRANCH_ICON=" \uE220" # 
VCS_REMOTE_BRANCH_ICON="\uE804" # 
VCS_GIT_ICON="\uE20E " # 
VCS_HG_ICON="\uE1C3 " # 
@@ -161,14 +158,17 @@ case $POWERLEVEL9K_MODE in
VCS_TAG_ICON=''
VCS_BOOKMARK_ICON="\u263F" # ☿
VCS_COMMIT_ICON=''
- #VCS_BRANCH_ICON='@'
- VCS_BRANCH_ICON=''
+ VCS_BRANCH_ICON='@'
VCS_REMOTE_BRANCH_ICON="\u2192" # →
VCS_GIT_ICON="\uE0A0" # 
VCS_HG_ICON="\uE0A0" # 
;;
esac
+if [[ "$POWERLEVEL9K_SHOW_BRANCH_ICON" != true ]]; then
+ VCS_BRANCH_ICON=''
+fi
+
################################################################
# color scheme
################################################################