mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-17 21:30:07 +00:00
Added NodeJS icon.
This commit is contained in:
parent
79678020f7
commit
5bd4f439e4
1 changed files with 2 additions and 1 deletions
|
@ -314,8 +314,9 @@ prompt_longstatus() {
|
|||
prompt_node_version() {
|
||||
local nvm_prompt=$(node -v 2>/dev/null)
|
||||
[[ -z "${nvm_prompt}" ]] && return
|
||||
NODE_ICON="\u2B22 " # ⬢
|
||||
|
||||
$1_prompt_segment green white ${nvm_prompt:1}
|
||||
$1_prompt_segment green white "${nvm_prompt:1} $NODE_ICON"
|
||||
}
|
||||
|
||||
# rbenv information
|
||||
|
|
Loading…
Reference in a new issue