aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2026-02-02 20:45:34 +0300
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2026-02-02 20:45:34 +0300
commitc53a81b0d825af9441e97e901c8fd0e3b095af93 (patch)
tree254565190b4fc6fd771b8ad44f76bd6854a717e9
parenta7da5b685c3b9394f3d8dc5cd4289f3eb9d08185 (diff)
bot: Rename startup variables
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
-rwxr-xr-xbot.zsh16
1 files changed, 8 insertions, 8 deletions
diff --git a/bot.zsh b/bot.zsh
index da5d9f9..e012f06 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -52,14 +52,14 @@ user_locks=(
shorts
)
-zmods=(
+zmodules=(
zsh/datetime
zsh/files
zsh/stat
zsh/zutil
)
-reqs=(
+dependencies=(
busybox
curl
jq
@@ -189,11 +189,11 @@ then
exit 0
fi
-for zmod in ${zmods[@]}
+for zmodule in ${zmodules[@]}
do
- if ! zmodload ${zmod}
+ if ! zmodload ${zmodule}
then
- failed="${failed} ${zmod}"
+ failed="${failed} ${zmodule}"
fi
done
@@ -204,11 +204,11 @@ then
exit 1
fi
-for req in ${reqs[@]}
+for dependency in ${dependencies[@]}
do
- if ! command -v ${req} > /dev/null
+ if ! command -v ${dependency} > /dev/null
then
- missing="${missing} ${req}"
+ missing="${missing} ${dependency}"
fi
done