diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-08-07 19:59:49 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-08-07 19:59:49 +0300 |
commit | 329f60f19f3198cc799b8a1eded895794cbbe3a2 (patch) | |
tree | bb4f642fede216275137344d89f318c55b338ab9 /powerlevel9k.zsh-theme | |
parent | 33dba0f19fff80baeebf723bd828a714d43b7f24 (diff) |
Node icon should be customizable too.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index dadd1d1a..72314412 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -68,6 +68,7 @@ case $POWERLEVEL9K_MODE in OK_ICON "\U2713" # ✓ FAIL_ICON "\U2718" # ✘ SYMFONY_ICON "SF" + NODE_ICON $'\U2B22' # ⬢ MULTILINE_FIRST_PROMPT_PREFIX $'\U256D'$'\U2500' MULTILINE_SECOND_PROMPT_PREFIX $'\U2570'$'\U2500 ' APPLE_ICON $'\UF8FF' # @@ -107,6 +108,7 @@ case $POWERLEVEL9K_MODE in OK_ICON "\U2713" # ✓ FAIL_ICON "\U2718" # ✘ SYMFONY_ICON "SF" + NODE_ICON $'\U2B22' # ⬢ MULTILINE_FIRST_PROMPT_PREFIX $'\U256D'$'\U2500' MULTILINE_SECOND_PROMPT_PREFIX $'\U2570'$'\U2500 ' APPLE_ICON 'OSX' @@ -502,9 +504,8 @@ prompt_longstatus() { prompt_node_version() { local nvm_prompt=$(node -v 2>/dev/null) [[ -z "${nvm_prompt}" ]] && return - NODE_ICON=$'\U2B22' # ⬢ - $1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $NODE_ICON" + $1_prompt_segment "$0" "green" "white" "${nvm_prompt:1} $(print_icon 'NODE_ICON')" } # print a little OS icon |