Add setopt nomatch
This commit is contained in:
@ -5,10 +5,14 @@
|
||||
|
||||
TOOLKIT=/etc/toolkit
|
||||
|
||||
setopt +o nomatch
|
||||
|
||||
load_scripts_in_dir() {
|
||||
for sh in ${TOOLKIT}/sh/custom/*.sh; do
|
||||
if [[ -d $1 ]]; then
|
||||
for sh in $1/*.sh; do
|
||||
test -r "$sh" && . "$sh"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
create_dir_if_not_exists() {
|
||||
|
Reference in New Issue
Block a user