mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
Added the "visual identifier" concept to the node_version segment.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user