diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-06-07 00:05:31 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-06-07 00:05:31 +0300 |
commit | 5bd4f439e464321ad402aac9b8886b8cbd188b68 (patch) | |
tree | 82eddcfaf06fc78507ce8ac74b3b3eec6e480150 /powerlevel9k.zsh-theme | |
parent | 79678020f7a3abff84f531345234f35f1826e6e4 (diff) |
Added NodeJS icon.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 3 |
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 |