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() {
else
print -Pn "\e[31;1m /"
fi
(( i++ ))
continue
fi
if [[ $colors -ge 256 ]]; then
print -Pn "${yellow[$i]:-%f} » "
else
print -Pn "%F{yellow} > "
if [[ $colors -ge 256 ]]; then
print -Pn "${yellow[$i]:-%f} » "
else
print -Pn "%F{yellow} > "
fi
fi
(( i += 6 ))
(( i++ ))
else
if [[ $colors -ge 256 ]]; then
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