b4c8b60bb45f00f3cd68000ceda3c96b2ad852ed
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
trapd00r: change more slowly between yellows
Also refactor the logic
Diff
1diff --git a/themes/trapd00r.zsh-theme b/themes/trapd00r.zsh-theme
2index a1db9945c0dd60782fee4697b0a97269d39325f0..33579e728f9374a2004b579e429453ef54d977ac 100755
3--- a/themes/trapd00r.zsh-theme
4+++ b/themes/trapd00r.zsh-theme
5@@ -59,16 +59,15 @@ zsh_path() {
6 else
7 print -Pn "\e[31;1m /"
8 fi
9- (( i++ ))
10- continue
11- fi
12-
13- if [[ $colors -ge 256 ]]; then
14- print -Pn "${yellow[$i]:-%f} » "
15 else
16- print -Pn "%F{yellow} > "
17+ if [[ $colors -ge 256 ]]; then
18+ print -Pn "${yellow[$i]:-%f} » "
19+ else
20+ print -Pn "%F{yellow} > "
21+ fi
22 fi
23- (( i += 6 ))
24+
25+ (( i++ ))
26 else
27 if [[ $colors -ge 256 ]]; then
28 print -Pn "%F{065}$c"