Commit b4c8b60b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

trapd00r: change more slowly between yellows

Also refactor the logic
parent 3d1719c6
...@@ -59,16 +59,15 @@ zsh_path() { ...@@ -59,16 +59,15 @@ zsh_path() {
else else
print -Pn "\e[31;1m /" print -Pn "\e[31;1m /"
fi fi
(( i++ ))
continue
fi
if [[ $colors -ge 256 ]]; then
print -Pn "${yellow[$i]:-%f} » "
else else
print -Pn "%F{yellow} > " if [[ $colors -ge 256 ]]; then
print -Pn "${yellow[$i]:-%f} » "
else
print -Pn "%F{yellow} > "
fi
fi fi
(( i += 6 ))
(( i++ ))
else else
if [[ $colors -ge 256 ]]; then if [[ $colors -ge 256 ]]; then
print -Pn "%F{065}$c" print -Pn "%F{065}$c"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment