mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-04-26 03:45:21 -04:00
15 lines
345 B
Bash
15 lines
345 B
Bash
# path to this directory:
|
|
export ZSH_CUSTOM=~/.dotfiles/zsh
|
|
|
|
# load .zsh files from the above dir in this order:
|
|
for _dotzsh in "$ZSH_CUSTOM"/custom/{common,env,path,aliases,functions,plugins,macos}.zsh; do
|
|
if [[ -f "$_dotzsh" ]]; then
|
|
source "$_dotzsh"
|
|
fi
|
|
done
|
|
unset _dotzsh
|
|
|
|
if [[ -f ~/.zshrc.local ]]; then
|
|
source ~/.zshrc.local
|
|
fi
|