aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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