summaryrefslogtreecommitdiff
path: root/Completion/Zsh/Command/_zmodload
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_zmodload')
-rw-r--r--Completion/Zsh/Command/_zmodload2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_zmodload b/Completion/Zsh/Command/_zmodload
index 57fb990e9..3416d50c6 100644
--- a/Completion/Zsh/Command/_zmodload
+++ b/Completion/Zsh/Command/_zmodload
@@ -17,6 +17,7 @@ _arguments -n -C -S -s \
'(-u -b -c -d -p -f -A -R -I)-F[handle features]' \
'(-u -b -c -d -p -f -A -R -I)-m[treat feature arguments as patterns]' \
'(-d -e)-i[suppress error if command would do nothing]' \
+ '(-d -e -L)-s[suppress error if module is not available]' \
'(-b -c -d -p -f -F -P -m)-I[define infix condition names]' \
'(-u -b -c -d -p -f -A -R)-l[list features]' \
'(-e -u)-L[output in the form of calls to zmodload]' \
@@ -71,6 +72,7 @@ else
_files -W module_path -g '*.(dll|s[ol]|bundle)(:r)' && ret=0
_requested aliases expl 'module alias' \
compadd "$suf[@]" -k 'modules[(R)alias*]' && ret=0
+ (( ret )) || return 0
done
return ret
fi