oh-my-zsh.sh 667 B

12345678910111213141516171819202122232425
  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. # Load all of the plugins that were defined in ~/.zshrc
  10. plugin=${plugin:=()}
  11. for plugin ($plugins) source $ZSH/plugins/$plugin.plugin.zsh
  12. # Check for updates on initial load...
  13. if [ "$DISABLE_AUTO_UPDATE" = "true" ]
  14. then
  15. return
  16. else
  17. /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
  18. fi
  19. unset config_file