1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

refactor(init): rename variable (#11851)

This commit is contained in:
LuckyWindsck 2023-08-22 01:09:02 +09:00 committed by GitHub
parent 6bc4c80c7d
commit dfe2f04de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,12 +187,12 @@ _omz_source() {
fi fi
} }
# Load all of the config files in ~/oh-my-zsh that end in .zsh # Load all of the lib files in ~/oh-my-zsh/lib that end in .zsh
# TIP: Add files you don't want in git to .gitignore # TIP: Add files you don't want in git to .gitignore
for config_file ("$ZSH"/lib/*.zsh); do for lib_file ("$ZSH"/lib/*.zsh); do
_omz_source "lib/${config_file:t}" _omz_source "lib/${lib_file:t}"
done done
unset custom_config_file unset lib_file
# Load all of the plugins that were defined in ~/.zshrc # Load all of the plugins that were defined in ~/.zshrc
for plugin ($plugins); do for plugin ($plugins); do