17f4cfca99398cb5511557b8515a17bf1bf2948a
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
af-magic: make separator window-size-aware (#7739)
Diff
1diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme
2index 1c6d1732ccd5527ec31da99cffecaf8dd47b99d0..2a6595a71077324b1da588cef9e1d195d55a9009 100644
3--- a/themes/af-magic.zsh-theme
4+++ b/themes/af-magic.zsh-theme
5@@ -6,7 +6,7 @@ if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
6 local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
7
8 # primary prompt
9-PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
10+PROMPT='$FG[237]${(l.COLUMNS..-.)}%{$reset_color%}
11 $FG[032]%~\
12 $(git_prompt_info) \
13 $FG[105]%(!.#.»)%{$reset_color%} '