From 37cb2c57fd4854d970eed76fedcb6b48a8255565 Mon Sep 17 00:00:00 2001 From: Levon Saldamli Date: Wed, 18 Feb 2015 13:31:54 +0100 Subject: [PATCH] Fixed bug with empty spaces when tab completion. --- themes/levsa.zsh-theme | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/levsa.zsh-theme b/themes/levsa.zsh-theme index dc7547658..3616d778e 100644 --- a/themes/levsa.zsh-theme +++ b/themes/levsa.zsh-theme @@ -22,7 +22,8 @@ theme_precmd () { } setopt prompt_subst -PROMPT='%(?.$fg[green].$fg[red])$(toon)%{$reset_color%} %~/ %{$reset_color%}${vcs_info_msg_0_}%{$reset_color%}' + +PROMPT='%(?.%{$fg[green]%}.%{$fg[red]%})$(toon) %{$reset_color%} %~/ %{$reset_color%}${vcs_info_msg_0_}%{$reset_color%}' autoload -U add-zsh-hook add-zsh-hook precmd theme_precmd \ No newline at end of file