summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-11-22 02:04:55 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-11-22 02:04:55 +0300
commit49a3a3e750fd20e7f01829209b1b5fbfbeeb4b41 (patch)
tree04ed11fef0489c4158210ed5c70b32962f57d31a /powerlevel9k.zsh-theme
parent1eadf5ad76d0d9a9a5c4f6e6b2cde47c018363c0 (diff)
The `nvm` segment should use the standard node icon (rather than defining an own icon).
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 002267f4..371ac31e 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -468,8 +468,8 @@ prompt_nvm() {
local nvm_default=$(cat $NVM_DIR/alias/default)
[[ -z "${node_version}" ]] && return
[[ "$node_version" =~ "$nvm_default" ]] && return
- NODE_ICON=$'\u2B22' # ⬢
- $1_prompt_segment "$0" "green" "011" "${node_version:1} $NODE_ICON"
+
+ $1_prompt_segment "$0" "green" "011" "${node_version:1} $(print_icon 'NODE_ICON')"
}
# rbenv information