Riordino il caricamento di alcuni plugin.
This commit is contained in:
parent
a39464d374
commit
37381ef397
11
.zshrc
11
.zshrc
@ -2,19 +2,16 @@
|
|||||||
|
|
||||||
# Base directories for dotfiles.
|
# Base directories for dotfiles.
|
||||||
export DOTFILES=~/.dotfiles
|
export DOTFILES=~/.dotfiles
|
||||||
|
# Autocompletion
|
||||||
|
export FPATH=$DOTFILES/zsh/functions:$FPATH
|
||||||
|
|
||||||
# Enables base completion
|
# Enables base completion
|
||||||
autoload -Uz compinit
|
autoload -Uz compaudit compinit vcs_info
|
||||||
compinit
|
|
||||||
# Enables prompt to see it better
|
|
||||||
autoload -Uz vcs_info
|
|
||||||
zstyle ':vcs_info:*' enable git svn
|
zstyle ':vcs_info:*' enable git svn
|
||||||
precmd() {
|
precmd() {
|
||||||
vcs_info
|
vcs_info
|
||||||
}
|
}
|
||||||
|
setopt prompt_subst
|
||||||
# Autocompletion
|
|
||||||
export FPATH=$DOTFILES/zsh/functions:$FPATH
|
|
||||||
|
|
||||||
# zsh packages from system
|
# zsh packages from system
|
||||||
if uname -a | grep -qi 'debian'; then
|
if uname -a | grep -qi 'debian'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user