mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 07:43:31 +01:00
trapd00r: change more slowly between yellows
Also refactor the logic
This commit is contained in:
parent
3d1719c618
commit
b4c8b60bb4
@ -59,16 +59,15 @@ zsh_path() {
|
|||||||
else
|
else
|
||||||
print -Pn "\e[31;1m /"
|
print -Pn "\e[31;1m /"
|
||||||
fi
|
fi
|
||||||
(( i++ ))
|
else
|
||||||
continue
|
if [[ $colors -ge 256 ]]; then
|
||||||
|
print -Pn "${yellow[$i]:-%f} » "
|
||||||
|
else
|
||||||
|
print -Pn "%F{yellow} > "
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $colors -ge 256 ]]; then
|
(( i++ ))
|
||||||
print -Pn "${yellow[$i]:-%f} » "
|
|
||||||
else
|
|
||||||
print -Pn "%F{yellow} > "
|
|
||||||
fi
|
|
||||||
(( i += 6 ))
|
|
||||||
else
|
else
|
||||||
if [[ $colors -ge 256 ]]; then
|
if [[ $colors -ge 256 ]]; then
|
||||||
print -Pn "%F{065}$c"
|
print -Pn "%F{065}$c"
|
||||||
|
Loading…
Reference in New Issue
Block a user