aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--powerlevel9k.zsh-theme3
1 files changed, 2 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a3f973ff..70593abd 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -314,8 +314,9 @@ prompt_longstatus() {
prompt_node_version() {
local nvm_prompt=$(node -v 2>/dev/null)
[[ -z "${nvm_prompt}" ]] && return
+ NODE_ICON="\u2B22 " # ⬢
- $1_prompt_segment green white ${nvm_prompt:1}
+ $1_prompt_segment green white "${nvm_prompt:1} $NODE_ICON"
}
# rbenv information