提交 a28dbc83 编写于 作者: M Matthew Hager 提交者: ncanceill

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

上级 8652fd64
......@@ -29,6 +29,11 @@ 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
......@@ -72,12 +77,6 @@ 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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册