Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
58a7cf19
Commit
58a7cf19
authored
Apr 28, 2011
by
Pat Regan
Browse files
Move sourcing of custom to below plugins
parent
57d699ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
58a7cf19
...
@@ -15,9 +15,6 @@ for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
...
@@ -15,9 +15,6 @@ for plugin ($plugins) fpath=($ZSH/plugins/$plugin $fpath)
autoload
-U
compinit
autoload
-U
compinit
compinit
-i
compinit
-i
# Load all of your custom configurations from custom/
for
config_file
(
$ZSH
/custom/
*
.zsh
)
source
$config_file
# Load all of the plugins that were defined in ~/.zshrc
# Load all of the plugins that were defined in ~/.zshrc
for
plugin
(
$plugins
)
;
do
for
plugin
(
$plugins
)
;
do
if
[
-f
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
]
;
then
if
[
-f
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
]
;
then
...
@@ -25,6 +22,9 @@ for plugin ($plugins); do
...
@@ -25,6 +22,9 @@ for plugin ($plugins); do
fi
fi
done
done
# Load all of your custom configurations from custom/
for
config_file
(
$ZSH
/custom/
*
.zsh
)
source
$config_file
# Load the theme
# Load the theme
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment