Fixed bug with empty spaces when tab completion.

This commit is contained in:
Levon Saldamli 2015-02-18 13:31:54 +01:00 committed by Levon Saldamli
commit 38d3e53458

View file

@ -23,7 +23,7 @@ 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