diff --git a/themes/hanwentao.zsh-theme b/themes/hanwentao.zsh-theme index e18420c73..cf3e210c9 100644 --- a/themes/hanwentao.zsh-theme +++ b/themes/hanwentao.zsh-theme @@ -4,12 +4,12 @@ function ssh_username_hostname() { fi } -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[cyan]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[cyan]%}git:(%{$fg_bold[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX=" " -ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}X%{$fg[cyan]%})" -ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[cyan]%})" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg_bold[yellow]%}X%{$fg_bold[cyan]%})" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[cyan]%})" -local current_dir="%{$fg[blue]%}%~ " +local current_dir="%{$fg_bold[blue]%}%~ " local ret_status="%(?:%{$fg_bold[green]%}:%{$fg_bold[red]%}%? )%# " -PROMPT='$(ssh_username_hostname)${current_dir}$(git_prompt_info)${ret_status}%{$reset_color%}' +PROMPT='%s$(ssh_username_hostname)${current_dir}$(git_prompt_info)${ret_status}%{$reset_color%}'