summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorLuckyWindsck <luckywindsck@gmail.com>2023-08-22 01:09:02 +0900
committerGitHub <noreply@github.com>2023-08-21 18:09:02 +0200
commitdfe2f04de7e839ae0a9757c37a26b9d8710aa372 (patch)
tree98d7db2971e70aacc21668cf38fc58e972676fb8 /oh-my-zsh.sh
parent6bc4c80c7db072a0d2d265eb3589bbe52e0d2737 (diff)
downloadzsh-dfe2f04de7e839ae0a9757c37a26b9d8710aa372.tar.gz
zsh-dfe2f04de7e839ae0a9757c37a26b9d8710aa372.tar.bz2
zsh-dfe2f04de7e839ae0a9757c37a26b9d8710aa372.zip
refactor(init): rename variable (#11851)
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index a577c1f41..40f13f37e 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -187,12 +187,12 @@ _omz_source() {
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
-for config_file ("$ZSH"/lib/*.zsh); do
- _omz_source "lib/${config_file:t}"
+for lib_file ("$ZSH"/lib/*.zsh); do
+ _omz_source "lib/${lib_file:t}"
done
-unset custom_config_file
+unset lib_file
# Load all of the plugins that were defined in ~/.zshrc
for plugin ($plugins); do