mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 3fee4ba393 into 291e96dcd0
This commit is contained in:
commit
5322b2c4d4
1 changed files with 5 additions and 6 deletions
11
oh-my-zsh.sh
11
oh-my-zsh.sh
|
|
@ -34,6 +34,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
|
||||
|
|
@ -86,12 +91,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue