1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
# (C) 2010 magicant
# Completion script for the "umask" built-in command.
function completion/umask {
typeset OPTIONS ARGOPT PREFIX
OPTIONS=( #>#
"S --symbolic; produce a symbolic output"
"--help"
) #<#
command -f completion//parseoptions -es
case $ARGOPT in
(-)
command -f completion//completeoptions
;;
(*)
if command -vf completion/chmod::mode >/dev/null 2>&1 ||
. -AL completion/chmod; then
command -f completion/chmod::mode umask
fi
;;
esac
}
# vim: set ft=sh ts=8 sts=8 sw=8 et:
|