zshrc 341 B

123456789101112131415
  1. # ${HOME}/.zshrc
  2. # load all files from .shell/zshrc.d directory
  3. if [ -d ${HOME}/.shellrc/zshrc.d ]; then
  4. for file in ${HOME}/.shellrc/zshrc.d/*.zsh; do
  5. source ${file}
  6. done
  7. fi
  8. # load all files from .shell/rc.d directory
  9. if [ -d ${HOME}/.shellrc/rc.d ]; then
  10. for file in ${HOME}/.shellrc/rc.d/*.sh; do
  11. source ${file}
  12. done
  13. fi