a28dbc83937cbe624ec726199b4bbe7b65b2b2a0
- Author
- Matthew Hager <matthew@poeticsystems.com>
- Committer
- ncanceill <nicolas.canceill@ens-cachan.org>
- Date
Message
Move custon *.zsh file sourcing up so that they can load plugins and other things that come after.
Diff
1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
2index bc7a8e4966426a5f0f43c34153b7c5dbfac8240b..71716f77fc2c7d48b56912cc0ecb3a940fdd2503 100644
3--- a/oh-my-zsh.sh
4+++ b/oh-my-zsh.sh
5@@ -29,6 +29,11 @@ for config_file ($ZSH/lib/*.zsh); do
6 source $config_file
7 done
8
9+# Load all of your custom configurations from custom/
10+for config_file ($ZSH_CUSTOM/*.zsh(N)); do
11+ source $config_file
12+done
13+unset config_file
14
15 is_plugin() {
16 local base_dir=$1
17@@ -72,12 +77,6 @@ for plugin ($plugins); do
18 fi
19 done
20
21-# Load all of your custom configurations from custom/
22-for config_file ($ZSH_CUSTOM/*.zsh(N)); do
23- source $config_file
24-done
25-unset config_file
26-
27 # Load the theme
28 if [ "$ZSH_THEME" = "random" ]; then
29 themes=($ZSH/themes/*zsh-theme)