Ancora su separazione dei file.
This commit is contained in:
parent
0ef2ac823e
commit
4244eb876c
2 changed files with 46 additions and 2 deletions
10
.zshrc
10
.zshrc
|
@ -5,6 +5,10 @@ export DOTFILES=~/.dotfiles
|
|||
# Autocompletion
|
||||
export FPATH=$DOTFILES/zsh/functions:$FPATH
|
||||
|
||||
# Base autoloading
|
||||
autoload -Uz compaudit compinit vcs_info
|
||||
compinit
|
||||
|
||||
# zsh packages from system
|
||||
if uname -a | grep -qi 'debian'; then
|
||||
# Options for debian
|
||||
|
@ -32,7 +36,7 @@ elif uname -a | grep -qi '\(arch\|manjaro\)'; then
|
|||
fi
|
||||
|
||||
# Plugins
|
||||
for plugin in `find $DOTFILES -type f -iname \*.plugin.zsh -print`; do
|
||||
for plugin in `find $DOTFILES/zsh/plugin -type f -iname \*.plugin.zsh -print`; do
|
||||
source $plugin
|
||||
done
|
||||
|
||||
|
@ -46,4 +50,6 @@ export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark"
|
|||
[ -f /etc/profile.d/rvm.sh ] && source /etc/profile.d/rvm.sh
|
||||
|
||||
# Loading additional aliases
|
||||
source ~/.dotfiles/zsh/aliases/*.aliases.zsh
|
||||
for aliases in `find $DOTFILES/zsh/aliases -type f -iname \*.aliases.zsh`; then
|
||||
source $aliases
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue