summaryrefslogtreecommitdiff
path: root/themes/af-magic.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-07-13 12:48:10 +0200
committerGitHub <noreply@github.com>2019-07-13 12:48:10 +0200
commit17f4cfca99398cb5511557b8515a17bf1bf2948a (patch)
tree067ec02b227edb1ecce9a509a522d355ed2a19c6 /themes/af-magic.zsh-theme
parent29fb617e6b6b18fc7bdfef74fc57bbdf0e2fe52b (diff)
downloadzsh-17f4cfca99398cb5511557b8515a17bf1bf2948a.tar.gz
zsh-17f4cfca99398cb5511557b8515a17bf1bf2948a.tar.bz2
zsh-17f4cfca99398cb5511557b8515a17bf1bf2948a.zip
af-magic: make separator window-size-aware (#7739)
Diffstat (limited to 'themes/af-magic.zsh-theme')
-rw-r--r--themes/af-magic.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme
index 1c6d1732c..2a6595a71 100644
--- a/themes/af-magic.zsh-theme
+++ b/themes/af-magic.zsh-theme
@@ -6,7 +6,7 @@ if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
# primary prompt
-PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
+PROMPT='$FG[237]${(l.COLUMNS..-.)}%{$reset_color%}
$FG[032]%~\
$(git_prompt_info) \
$FG[105]%(!.#.»)%{$reset_color%} '