oh-my-zsh.sh 528 B

123456789101112131415161718192021
  1. # Initializes Oh My Zsh
  2. # add a function path
  3. fpath=($ZSH/functions $fpath)
  4. # Load all of the config files in ~/oh-my-zsh that end in .zsh
  5. # TIP: Add files you don't want in git to .gitignore
  6. for config_file ($ZSH/lib/*.zsh) source $config_file
  7. # Load all of your custom configurations from custom/
  8. for config_file ($ZSH/custom/*.zsh) source $config_file
  9. # Check for updates on initial load...
  10. if [ "$DISABLE_AUTO_UPDATE" = "true" ]
  11. then
  12. return
  13. else
  14. /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
  15. fi
  16. unset config_file