Move fixed file loading to load-dir
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9bae4c305a
commit
9971c7f13d
1 changed files with 12 additions and 8 deletions
|
@ -69,7 +69,11 @@ source ${HOME}/.zsh/gpg-agent.plugin.zsh
|
||||||
source ${HOME}/.zsh/config-git.zsh
|
source ${HOME}/.zsh/config-git.zsh
|
||||||
|
|
||||||
## Load local-config if available
|
## 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
|
## Load peco functions
|
||||||
source ${HOME}/.zsh/peco.sh
|
source ${HOME}/.zsh/peco.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue