aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-11 15:29:48 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-07-11 15:29:48 +0300
commit505a55b61c75f13a7bbbff56be54e9e8fc0f2054 (patch)
treeed7ca51427c02f2577d2bb6fdcf5ea2d8554ac67 /powerlevel9k.zsh-theme
parentbc7c01648f536d023c79324cea213cdc1202c87f (diff)
Updated node-prompt.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 26763740..cecb19db 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -476,9 +476,9 @@ prompt_longstatus() {
prompt_node_version() {
local nvm_prompt=$(node -v 2>/dev/null)
[[ -z "${nvm_prompt}" ]] && return
- NODE_ICON="\u2B22 " # ⬢
+ NODE_ICON=$'\u2B22 ' # ⬢
- $1_prompt_segment green white "${nvm_prompt:1} $NODE_ICON"
+ $1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
}
# rbenv information