Move fixed file loading to load-dir

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-11-08 16:38:59 +01:00
parent 9bae4c305a
commit 9971c7f13d
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -69,7 +69,11 @@ source ${HOME}/.zsh/gpg-agent.plugin.zsh
source ${HOME}/.zsh/config-git.zsh
## Load local-config if available
[ -e ${HOME}/.zsh/local-config.zsh ] && source ${HOME}/.zsh/local-config.zsh
[[ -d ${HOME}/.zsh/config.sh.d ]] && {
for lc in $(find ${HOME}/.zsh/config.sh.d -name '*.zsh' -o -name '*.sh'); do
[[ -e $lc ]] && source ${lc} || true
done
} || true
## Load peco functions
source ${HOME}/.zsh/peco.sh