From 67ef7892de7a5a4319c82cc878fb83998696fd0f Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Mon, 3 Apr 2017 20:50:23 -0400 Subject: [PATCH 1/2] Changing name of nerdfont option per #458 --- functions/icons.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/icons.zsh b/functions/icons.zsh index 413ea19b..ed3482de 100644 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -148,7 +148,7 @@ case $POWERLEVEL9K_MODE in SSH_ICON '(ssh)' ) ;; - 'nerdfont-fontconfig') + 'nerdfont-complete'|'nerdfont-fontconfig') # nerd-font patched (complete) font required! See # https://github.com/ryanoasis/nerd-fonts # Set the right locale to protect special characters From 18fc317cf7876642ea5b3f38bb4dcddde07aa134 Mon Sep 17 00:00:00 2001 From: Henry Chang Date: Sat, 15 Apr 2017 23:04:33 -0700 Subject: [PATCH 2/2] Set tick to color name green instead of color code So the tick will not be too bright in light background color scheme such as Solarized Light. --- powerlevel9k.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index bbd1ec44..cfb34292 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1003,7 +1003,7 @@ prompt_status() { "$1_prompt_segment" "$0_ERROR" "$2" "$DEFAULT_COLOR" "red" "" 'FAIL_ICON' fi elif [[ "$POWERLEVEL9K_STATUS_VERBOSE" == true || "$POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE" == true ]]; then - "$1_prompt_segment" "$0_OK" "$2" "$DEFAULT_COLOR" "046" "" 'OK_ICON' + "$1_prompt_segment" "$0_OK" "$2" "$DEFAULT_COLOR" "green" "" 'OK_ICON' fi }