mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-02-17 03:17:03 +00:00
Added "visual identifier" concept to icons_test
segment.
This commit is contained in:
parent
701053aa73
commit
01e4e8d324
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user