Skip to content
Newer
Older
100644 38 lines (29 sloc) 945 Bytes
53abb4e @robbyrussell Moving the loading of all .zsh files into a different file so that we…
authored Sep 1, 2009
1 # Initializes Oh My Zsh
2
b865f2a @kastner adding homebrew completions - and a function dir
kastner authored Oct 26, 2009
3 # add a function path
4 fpath=($ZSH/functions $fpath)
5
53abb4e @robbyrussell Moving the loading of all .zsh files into a different file so that we…
authored Sep 1, 2009
6 # Load all of the config files in ~/oh-my-zsh that end in .zsh
7 # TIP: Add files you don't want in git to .gitignore
8debd09 @robbyrussell Moving all zsh config options into a lib/ subdirectory to make way fo…
authored Sep 23, 2009
8 for config_file ($ZSH/lib/*.zsh) source $config_file
107322c @robbyrussell Moving some example files into custom/
authored Sep 23, 2009
9
6bf906a @oknowton Optimize plugin loading so that only one call to compinit is required
oknowton authored Apr 12, 2011
10 # Add all defined plugins to fpath
3cf9ab7 @robbyrussell Initial implementation of a new plugin system, so that people can man…
authored Jun 3, 2010
11 plugin=${plugin:=()}
6bf906a @oknowton Optimize plugin loading so that only one call to compinit is required
oknowton authored Apr 12, 2011
12 for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
3cf9ab7 @robbyrussell Initial implementation of a new plugin system, so that people can man…
authored Jun 3, 2010
13
16ac094 @oknowton Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
oknowton authored Apr 12, 2011
14 # Load and run compinit
15 autoload -U compinit
16 compinit -i
17
757ebfc @oknowton Moved the plugin fpath loop and compinit so they happen before custom…
oknowton authored Apr 12, 2011
18 # Load all of your custom configurations from custom/
19 for config_file ($ZSH/custom/*.zsh) source $config_file
20
6bf906a @oknowton Optimize plugin loading so that only one call to compinit is required
oknowton authored Apr 12, 2011
21 # Load all of the plugins that were defined in ~/.zshrc
796f516 @oknowton Minor reformatting
oknowton authored Apr 12, 2011
22 for plugin ($plugins); do
23 if [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then
6bf906a @oknowton Optimize plugin loading so that only one call to compinit is required
oknowton authored Apr 12, 2011
24 source $ZSH/plugins/$plugin/$plugin.plugin.zsh
25 fi
26 done
27
8294cf4 Postponing sourcing of the theme until after local customizations
Michael Komitee authored Jan 8, 2011
28 # Load the theme
29 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
30
eddab50 @evansj run update check *after* running custom configuration scripts.
evansj authored Oct 1, 2009
31 # Check for updates on initial load...
32 if [ "$DISABLE_AUTO_UPDATE" = "true" ]
33 then
34 return
35 else
20755df @johnmaxwelliv Based on a suggestion from robbyrussel, using env for greater compati…
johnmaxwelliv authored Dec 13, 2009
36 /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
eddab50 @evansj run update check *after* running custom configuration scripts.
evansj authored Oct 1, 2009
37 fi
Something went wrong with that request. Please try again.