The `nvm` segment should use the standard node icon (rather than defining an own icon).

pull/22/head
Dominik Ritter 9 years ago
parent 1eadf5ad76
commit 49a3a3e750

@ -468,8 +468,8 @@ prompt_nvm() {
local nvm_default=$(cat $NVM_DIR/alias/default)
[[ -z "${node_version}" ]] && return
[[ "$node_version" =~ "$nvm_default" ]] && return
NODE_ICON=$'\u2B22' # ⬢
$1_prompt_segment "$0" "green" "011" "${node_version:1} $NODE_ICON"
$1_prompt_segment "$0" "green" "011" "${node_version:1} $(print_icon 'NODE_ICON')"
}
# rbenv information

Loading…
Cancel
Save