aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-12-15 03:02:55 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-12-15 04:08:59 +0300
commitfd0fcba5e9b14f27879c209ec056d23adc189026 (patch)
treeee3441bddbbaaf82667142d6014c28e1a43a6356 /powerlevel9k.zsh-theme
parent35b1cb5b8d7b4132d9b1da50600265b040e94308 (diff)
Added the "visual identifier" concept to the `node_version` segment.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index d5e3b1e1..362cacb3 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -481,7 +481,7 @@ prompt_node_version() {
local node_version=$(node -v 2>/dev/null)
[[ -z "${node_version}" ]] && return
- "$1_prompt_segment" "$0" "green" "white" "${node_version:1} $(print_icon 'NODE_ICON')"
+ "$1_prompt_segment" "$0" "green" "white" "${node_version:1}" 'NODE_ICON'
}
# print a little OS icon