mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
zshrc: comment vcs
This commit is contained in:
parent
9548a81b7b
commit
54b7d73ea8
10
rc/zshrc
10
rc/zshrc
@ -33,13 +33,13 @@ autoload -Uz promptinit
|
|||||||
# Green for normal user and red for root and show exit status
|
# Green for normal user and red for root and show exit status
|
||||||
# if it's not 0. Thank you nyuszika7h
|
# if it's not 0. Thank you nyuszika7h
|
||||||
promptinit
|
promptinit
|
||||||
autoload -Uz vcs_info
|
#autoload -Uz vcs_info
|
||||||
autoload -Uz colors && colors
|
autoload -Uz colors && colors
|
||||||
setopt PROMPT_SUBST
|
setopt PROMPT_SUBST
|
||||||
zstyle ':vcs_info:*' check-for-changes true
|
#zstyle ':vcs_info:*' check-for-changes true
|
||||||
zstyle ':vcs_info:*' enable git svn bzr hg
|
#zstyle ':vcs_info:*' enable git svn bzr hg
|
||||||
zstyle ':vcs_info:*' formats '%b '
|
#zstyle ':vcs_info:*' formats '%b '
|
||||||
precmd() { vcs_info }
|
#precmd() { vcs_info }
|
||||||
|
|
||||||
PS1="%B%(!.%F{red}.%F{green})%n@%m %~
|
PS1="%B%(!.%F{red}.%F{green})%n@%m %~
|
||||||
%# %(?..%B%?%b )%f%b"
|
%# %(?..%B%?%b )%f%b"
|
||||||
|
Loading…
Reference in New Issue
Block a user