Spostamento file di configurazione locali.

This commit is contained in:
Emiliano Vavassori 2023-12-29 18:23:31 +01:00
parent 02d62ba1b2
commit e408b628ee
3 changed files with 18 additions and 26 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@ vim/plugged
vim/pack vim/pack
vim/bundle vim/bundle
vim/spell vim/spell
zsh/localconf.d

View File

@ -1,7 +0,0 @@
# Directory di configurazione locale #
Se ci sono specifiche locali, meglio aggiungerle a questa cartella (che è
esclusa dal controllo git).
Per essere caricati, i file dovrebbero terminare in `.conf`. Inoltre è stato
forzato un sort, pertanto l'ideale sarebbe crearli con nome `000_nome.conf`.

36
zshrc
View File

@ -26,21 +26,19 @@ done
# Antigen configuration # Antigen configuration
# the main pluing should have been sourced in the previous loop. # the main pluing should have been sourced in the previous loop.
antigen bundle <<BUNDLES antigen bundle command-not-found
command-not-found antigen bundle common-aliases
common-aliases antigen bundle copyfile
copyfile antigen bundle fd
fd antigen bundle fzf
fzf antigen bundle git
git antigen bundle pip
pip antigen bundle python
python antigen bundle rsync
rsync antigen bundle sudo
sudo antigen bundle systemadmin
systemadmin antigen bundle systemd
systemd antigen bundle z
z
BUNDLES
antigen apply antigen apply
# EDITOR # EDITOR
@ -63,6 +61,8 @@ for file in `find $DOTFILES/zsh/aliases -iname \*.aliases.zsh -print`; do
source $file source $file
done done
for file in `find $DOTFILES/zsh/localconf.d -type f -iname \*.conf.zsh -print | sort`; do if [[ -d $HOME/.zsh/conf.d ]]; then
source file for file in `find $HOME/.zsh/conf.d -type f -iname \*.zsh -print | sort`; do
done source file
done
fi