Added the "visual identifier" concept to the `node_version` segment.

pull/22/head
Dominik Ritter 9 years ago
parent 46aafc797a
commit 4fc59fd57c

@ -550,7 +550,7 @@ prompt_nvm() {
[[ -z "${node_version}" ]] && return [[ -z "${node_version}" ]] && return
[[ "$node_version" =~ "$nvm_default" ]] && return [[ "$node_version" =~ "$nvm_default" ]] && return
$1_prompt_segment "$0" "green" "011" "${node_version:1} $(print_icon 'NODE_ICON')" $1_prompt_segment "$0" "green" "011" "${node_version:1}" 'NODE_ICON'
} }
# rbenv information # rbenv information

Loading…
Cancel
Save