Riordino il caricamento di alcuni plugin.

This commit is contained in:
Emiliano Vavassori 2021-12-30 00:39:38 +01:00
parent a39464d374
commit 37381ef397

11
.zshrc
View File

@ -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