mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Added the "visual identifier" concept to the node_version
segment.
This commit is contained in:
parent
46aafc797a
commit
4fc59fd57c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue