summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-06-07 00:05:31 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-06-07 00:05:31 +0300
commit5bd4f439e464321ad402aac9b8886b8cbd188b68 (patch)
tree82eddcfaf06fc78507ce8ac74b3b3eec6e480150
parent79678020f7a3abff84f531345234f35f1826e6e4 (diff)
Added NodeJS icon.
-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