1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-18 03:40:08 +00:00

af-magic: make separator window-size-aware (#7739)

This commit is contained in:
Marc Cornellà 2019-07-13 12:48:10 +02:00 committed by GitHub
parent 29fb617e6b
commit 17f4cfca99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
# primary prompt # primary prompt
PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%} PROMPT='$FG[237]${(l.COLUMNS..-.)}%{$reset_color%}
$FG[032]%~\ $FG[032]%~\
$(git_prompt_info) \ $(git_prompt_info) \
$FG[105]%(!.#.»)%{$reset_color%} ' $FG[105]%(!.#.»)%{$reset_color%} '