moved loading modules to apropriate places
This commit is contained in:
parent
93670cae00
commit
fa1426174e
6
.zshrc
6
.zshrc
@ -10,6 +10,8 @@ EDITOR="vim"
|
|||||||
|
|
||||||
autoload colors; colors
|
autoload colors; colors
|
||||||
|
|
||||||
|
autoload -Uz add-zsh-hook
|
||||||
|
|
||||||
LAST_RETURN_VALUE=0
|
LAST_RETURN_VALUE=0
|
||||||
|
|
||||||
# Characters
|
# Characters
|
||||||
@ -229,8 +231,6 @@ prompt_precmd() {
|
|||||||
PROMPT="%{%f%b%k%}$(prompt_main) "
|
PROMPT="%{%f%b%k%}$(prompt_main) "
|
||||||
}
|
}
|
||||||
|
|
||||||
autoload -Uz add-zsh-hook
|
|
||||||
autoload -Uz vcs_info
|
|
||||||
|
|
||||||
prompt_opts=(cr subst percent)
|
prompt_opts=(cr subst percent)
|
||||||
|
|
||||||
@ -238,6 +238,8 @@ add-zsh-hook precmd prompt_precmd
|
|||||||
|
|
||||||
#---------------------------------- VCS ---------------------------------------
|
#---------------------------------- VCS ---------------------------------------
|
||||||
|
|
||||||
|
autoload -Uz vcs_info
|
||||||
|
|
||||||
zstyle ':vcs_info:*' enable git hg svn
|
zstyle ':vcs_info:*' enable git hg svn
|
||||||
zstyle ':vcs_info:*' check-for-changes true
|
zstyle ':vcs_info:*' check-for-changes true
|
||||||
zstyle ':vcs_info:*' get-revision true
|
zstyle ':vcs_info:*' get-revision true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user