dfe2f04de7e839ae0a9757c37a26b9d8710aa372

Author
LuckyWindsck <luckywindsck@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

refactor(init): rename variable (#11851)

Diff

 1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
 2index a577c1f4195109112a3cf2c33b67982fa990d017..40f13f37e078e431202b45009237c3182652d62e 100644
 3--- a/oh-my-zsh.sh
 4+++ b/oh-my-zsh.sh
 5@@ -187,12 +187,12 @@ _omz_source() {
 6   fi
 7 }
 8 
 9-# Load all of the config files in ~/oh-my-zsh that end in .zsh
10+# Load all of the lib files in ~/oh-my-zsh/lib that end in .zsh
11 # TIP: Add files you don't want in git to .gitignore
12-for config_file ("$ZSH"/lib/*.zsh); do
13-  _omz_source "lib/${config_file:t}"
14+for lib_file ("$ZSH"/lib/*.zsh); do
15+  _omz_source "lib/${lib_file:t}"
16 done
17-unset custom_config_file
18+unset lib_file
19 
20 # Load all of the plugins that were defined in ~/.zshrc
21 for plugin ($plugins); do