1
0

.zshrc 443 B

123456789101112131415161718192021
  1. # load all files from .shell/zshrc.d directory
  2. if [ -d $HOME/.zshrc.d ]; then
  3. for file in $HOME/.zshrc.d/*.zsh; do
  4. source $file
  5. done
  6. fi
  7. # load all files from .shell/rc.d directory
  8. if [ -d $HOME/.rc.d ]; then
  9. for file in $HOME/.rc.d/*.sh; do
  10. source $file
  11. done
  12. fi
  13. if [[ -n $SSH_CONNECTION ]]; then
  14. export EDITOR='vim'
  15. else
  16. export EDITOR='code'
  17. fi
  18. export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"