zshrc: comment vcs

This commit is contained in:
Aminda Suomalainen 2015-06-29 16:26:55 +03:00
parent 9548a81b7b
commit 54b7d73ea8
1 changed files with 5 additions and 5 deletions

View File

@ -33,13 +33,13 @@ autoload -Uz promptinit
# Green for normal user and red for root and show exit status
# if it's not 0. Thank you nyuszika7h
promptinit
autoload -Uz vcs_info
#autoload -Uz vcs_info
autoload -Uz colors && colors
setopt PROMPT_SUBST
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' enable git svn bzr hg
zstyle ':vcs_info:*' formats '%b '
precmd() { vcs_info }
#zstyle ':vcs_info:*' check-for-changes true
#zstyle ':vcs_info:*' enable git svn bzr hg
#zstyle ':vcs_info:*' formats '%b '
#precmd() { vcs_info }
PS1="%B%(!.%F{red}.%F{green})%n@%m %~
%# %(?..%B%?%b )%f%b"