mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Updated node-prompt.
This commit is contained in:
parent
bc7c01648f
commit
505a55b61c
1 changed files with 2 additions and 2 deletions
|
@ -476,9 +476,9 @@ prompt_longstatus() {
|
||||||
prompt_node_version() {
|
prompt_node_version() {
|
||||||
local nvm_prompt=$(node -v 2>/dev/null)
|
local nvm_prompt=$(node -v 2>/dev/null)
|
||||||
[[ -z "${nvm_prompt}" ]] && return
|
[[ -z "${nvm_prompt}" ]] && return
|
||||||
NODE_ICON="\u2B22 " # ⬢
|
NODE_ICON=$'\u2B22 ' # ⬢
|
||||||
|
|
||||||
$1_prompt_segment green white "${nvm_prompt:1} $NODE_ICON"
|
$1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
|
||||||
}
|
}
|
||||||
|
|
||||||
# rbenv information
|
# rbenv information
|
||||||
|
|
Loading…
Reference in a new issue