mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-01-11 00:19:31 +00:00
The nvm
segment should use the standard node icon (rather than defining an own icon).
This commit is contained in:
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…
Reference in New Issue
Block a user