1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-14 00:50:08 +00:00

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.
This commit is contained in:
Henry Chang 2017-04-15 23:04:33 -07:00
parent 37174ea911
commit 18fc317cf7
No known key found for this signature in database
GPG key ID: 9890185D083B1371

View file

@ -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
}