Added NodeJS icon.

pull/22/head
Dominik Ritter 10 years ago
parent 79678020f7
commit 5bd4f439e4

@ -314,8 +314,9 @@ prompt_longstatus() {
prompt_node_version() { prompt_node_version() {
local nvm_prompt=$(node -v 2>/dev/null) local nvm_prompt=$(node -v 2>/dev/null)
[[ -z "${nvm_prompt}" ]] && return [[ -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 # rbenv information

Loading…
Cancel
Save