mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Fixed bug with empty spaces when tab completion.
This commit is contained in:
parent
984644181f
commit
37cb2c57fd
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue