1
0

.zshrc 367 B

12345678910111213141516171819
  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