Load configs before functions
This commit is contained in:
parent
987d1d6801
commit
3520345f4b
|
@ -7,13 +7,13 @@ export PATH=$PATH:/usr/local/sbin
|
||||||
export PATH=$PATH:"$HOME/.platformsh/bin"
|
export PATH=$PATH:"$HOME/.platformsh/bin"
|
||||||
export PATH="$HOME/.bin:$PATH"
|
export PATH="$HOME/.bin:$PATH"
|
||||||
|
|
||||||
for function in $HOME/.zsh/functions/*; do
|
|
||||||
source $function
|
|
||||||
done
|
|
||||||
|
|
||||||
for zsh_source in $HOME/.zsh/configs/*.zsh; do
|
for zsh_source in $HOME/.zsh/configs/*.zsh; do
|
||||||
source $zsh_source
|
source $zsh_source
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for function in $HOME/.zsh/functions/*; do
|
||||||
|
source $function
|
||||||
|
done
|
||||||
|
|
||||||
# Local config
|
# Local config
|
||||||
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|
||||||
|
|
Loading…
Reference in a new issue