diff --git a/.zshrc b/.zshrc index 12435de..3f6c1ce 100644 --- a/.zshrc +++ b/.zshrc @@ -2,19 +2,16 @@ # Base directories for dotfiles. export DOTFILES=~/.dotfiles +# Autocompletion +export FPATH=$DOTFILES/zsh/functions:$FPATH # Enables base completion -autoload -Uz compinit -compinit -# Enables prompt to see it better -autoload -Uz vcs_info +autoload -Uz compaudit compinit vcs_info zstyle ':vcs_info:*' enable git svn precmd() { vcs_info } - -# Autocompletion -export FPATH=$DOTFILES/zsh/functions:$FPATH +setopt prompt_subst # zsh packages from system if uname -a | grep -qi 'debian'; then