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