Commit 3fe3ce8b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Revert "Move custon *.zsh file sourcing up so that they can load plugins and...

Revert "Move custon *.zsh file sourcing up so that they can load plugins and other things that come after."

This reverts commit a28dbc83.
parent 3d5b3430
...@@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do ...@@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do
source $config_file source $config_file
done 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() { is_plugin() {
local base_dir=$1 local base_dir=$1
...@@ -77,6 +72,12 @@ for plugin ($plugins); do ...@@ -77,6 +72,12 @@ for plugin ($plugins); do
fi fi
done 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 # Load the theme
if [ "$ZSH_THEME" = "random" ]; then if [ "$ZSH_THEME" = "random" ]; then
themes=($ZSH/themes/*zsh-theme) themes=($ZSH/themes/*zsh-theme)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment