aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/icons.zsh3
-rw-r--r--functions/vcs.zsh2
2 files changed, 4 insertions, 1 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh
index 2f30cff2..bd1cfa06 100644
--- a/functions/icons.zsh
+++ b/functions/icons.zsh
@@ -72,6 +72,7 @@ case $POWERLEVEL9K_MODE in
VCS_SVN_ICON '(svn) '
RUST_ICON ''
PYTHON_ICON $'\U1F40D' # 🐍
+ SWIFT_ICON ''
)
;;
'awesome-fontconfig')
@@ -126,6 +127,7 @@ case $POWERLEVEL9K_MODE in
VCS_SVN_ICON '(svn) '
RUST_ICON $'\uE6A8' # 
PYTHON_ICON $'\U1F40D' # 🐍
+ SWIFT_ICON ''
)
;;
*)
@@ -180,6 +182,7 @@ case $POWERLEVEL9K_MODE in
VCS_SVN_ICON ''
RUST_ICON ''
PYTHON_ICON ''
+ SWIFT_ICON 'Swift'
)
;;
esac
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index a0aa2b6c..93925f15 100644
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -62,7 +62,7 @@ function +vi-git-remotebranch() {
set_default POWERLEVEL9K_VCS_HIDE_TAGS false
function +vi-git-tagname() {
- if [[ "$POWERLEVE9K_VCS_HIDE_TAGS" == "false" ]]; then
+ if [[ "$POWERLEVEL9K_VCS_HIDE_TAGS" == "false" ]]; then
# If we are on a tag, append the tagname to the current branch string.
local tag
tag=$(git describe --tags --exact-match HEAD 2>/dev/null)