1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-27 14:11:14 +01:00
zsh/Completion/Builtins/_zmodload
1999-04-15 18:05:38 +00:00

9 lines
213 B
Text

#defcomp zmodload
if [[ -mword 1 -*(a*u|u*a)* || -mword 1 -*a* && -position 3 -1 ]]; then
complist -B
elif [[ -mword 1 -*u* ]]; then
complist -s '$(zmodload)'
else
complist -s '${^module_path}/*(N:t:r)'
fi