modified theme and altered installer for my repo

This commit is contained in:
Oliver 2012-08-20 17:34:19 +02:00
commit 3ee2a45a2f
2 changed files with 1 additions and 6 deletions

View file

@ -23,11 +23,6 @@ theme_precmd () {
setopt prompt_subst
#PROMPT='%B%F{magenta}%c%B%F{green}${vcs_info_msg_0_}%B%F{magenta} %{$reset_color%}%% '
if [[ -z ${vcs_info_msg_0} ]] {
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~) %#%{$reset_color%} '
} else {
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~)${vcs_info_msg_0_}%#%{$reset_color%} '
}
autoload -U add-zsh-hook
add-zsh-hook precmd theme_precmd