|
|
@ -487,7 +487,7 @@ 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 "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
|
|
|
|
$1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON"
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -645,7 +645,6 @@ $POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX"
|
|
|
|
RPROMPT_SUFFIX=''
|
|
|
|
RPROMPT_SUFFIX=''
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
|
|
|
|
RPROMPT=$RPROMPT_PREFIX"%{%f%b%k%}"'$(build_right_prompt)'"%{$reset_color%}"$RPROMPT_SUFFIX
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
powerlevel9k_init "$@"
|
|
|
|
powerlevel9k_init "$@"
|
|
|
|