mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue