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

Added "visual identifier" concept to icons_test segment.

This commit is contained in:
Dominik Ritter 2016-01-17 01:02:03 +01:00
parent 701053aa73
commit 01e4e8d324

View file

@ -459,7 +459,7 @@ prompt_icons_test() {
# the next color has enough contrast to read.
local random_color=$((RANDOM % 8))
local next_color=$((random_color+1))
"$1_prompt_segment" "$0" "$2" "$random_color" "$next_color" "$key: ${icons[$key]}"
"$1_prompt_segment" "$0" "$2" "$random_color" "$next_color" "$key" "$key"
done
}