aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-08 01:44:52 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-07-08 01:44:52 +0300
commit2538e5579b2b69cf77342957b5fd436ccc4b20a2 (patch)
tree2032b458e638380c62209821cd5ec41994a5da0a /powerlevel9k.zsh-theme
parent558d137bfaf3b64c5e1b6b1091b0c066cb5f5cce (diff)
Make branch icon configurable.
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 1ebc31bb..cee6acad 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -74,8 +74,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 " # 
@@ -99,8 +98,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'
@@ -130,8 +128,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 " # 
@@ -157,14 +154,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
################################################################