mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-17 21:30:07 +00:00
Added the "visual identifier" concept to the node_version
segment.
This commit is contained in:
parent
35b1cb5b8d
commit
fd0fcba5e9
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ prompt_node_version() {
|
|||
local node_version=$(node -v 2>/dev/null)
|
||||
[[ -z "${node_version}" ]] && return
|
||||
|
||||
"$1_prompt_segment" "$0" "green" "white" "${node_version:1} $(print_icon 'NODE_ICON')"
|
||||
"$1_prompt_segment" "$0" "green" "white" "${node_version:1}" 'NODE_ICON'
|
||||
}
|
||||
|
||||
# print a little OS icon
|
||||
|
|
Loading…
Reference in a new issue