From 3a2160cfef0ef0a2539e1da1845f2ff948d90d81 Mon Sep 17 00:00:00 2001 From: Dusan Maliarik Date: Wed, 16 Jan 2013 15:08:42 +0100 Subject: [PATCH] full width separator for af-magic theme --- themes/af-magic.zsh-theme | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme index c1b00c62b..29e3afc49 100644 --- a/themes/af-magic.zsh-theme +++ b/themes/af-magic.zsh-theme @@ -14,7 +14,8 @@ 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_SEP=`printf '-%.0s' {1..$COLUMNS}` +PROMPT='$FG[237]$PROMPT_SEP%{$reset_color%} $FG[032]%~\ $(git_prompt_info) \ $FG[105]%(!.#.»)%{$reset_color%} '