mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 10:51:57 +00:00
Merge pull request #4230 from mcornella/revert-custom-early-load
Revert commit a28dbc8
("Move custon *.zsh file sourcing up ...")
This commit is contained in:
commit
2ecb17c272
1 changed files with 6 additions and 5 deletions
11
oh-my-zsh.sh
11
oh-my-zsh.sh
|
@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do
|
|||
source $config_file
|
||||
done
|
||||
|
||||
# Load all of your custom configurations from custom/
|
||||
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
|
||||
source $config_file
|
||||
done
|
||||
unset config_file
|
||||
|
||||
is_plugin() {
|
||||
local base_dir=$1
|
||||
|
@ -77,6 +72,12 @@ for plugin ($plugins); do
|
|||
fi
|
||||
done
|
||||
|
||||
# Load all of your custom configurations from custom/
|
||||
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
|
||||
source $config_file
|
||||
done
|
||||
unset config_file
|
||||
|
||||
# Load the theme
|
||||
if [ "$ZSH_THEME" = "random" ]; then
|
||||
themes=($ZSH/themes/*zsh-theme)
|
||||
|
|
Loading…
Reference in a new issue