oh-my-zsh.sh 717 B

1234567891011121314151617181920212223242526
  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.plugin.zsh
  12. # Load the theme
  13. source "$ZSH/themes/$ZSH_THEME.zsh-theme"
  14. # Check for updates on initial load...
  15. if [ "$DISABLE_AUTO_UPDATE" = "true" ]
  16. then
  17. return
  18. else
  19. /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
  20. fi