1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-25 04:30:46 +00:00

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

This commit is contained in:
Dominik Ritter 2015-12-15 02:36:02 +01:00
parent 46aafc797a
commit 4fc59fd57c

View file

@ -550,7 +550,7 @@ prompt_nvm() {
[[ -z "${node_version}" ]] && 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