diff options
author | Clint Adams <clint@users.sourceforge.net> | 2009-01-29 16:02:54 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2009-01-29 16:02:54 +0000 |
commit | 268357abc053f0fa9425f32e84a3a9bfb298aebd (patch) | |
tree | a245fec740950e7b7efb906866b2fd5eae66935a /Completion/Unix | |
parent | 3bd094b1bc6f7381ee9e003a8fccc645d73c7a22 (diff) | |
download | zsh-268357abc053f0fa9425f32e84a3a9bfb298aebd.tar.gz zsh-268357abc053f0fa9425f32e84a3a9bfb298aebd.tar.xz zsh-268357abc053f0fa9425f32e84a3a9bfb298aebd.zip |
unposted: move _getfacl and _setfacl from Completion/Cygwin/Command to Completion/Unix/Command.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/.distfiles | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_getfacl | 11 | ||||
-rw-r--r-- | Completion/Unix/Command/_setfacl | 13 |
3 files changed, 26 insertions, 0 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles index 2a96ad6b1..9d74c518a 100644 --- a/Completion/Unix/Command/.distfiles +++ b/Completion/Unix/Command/.distfiles @@ -66,6 +66,7 @@ _gdb _genisoimage _getconf _getent +_getfacl _getmail _git _global @@ -174,6 +175,7 @@ _samba _sccs _screen _sed +_setfacl _sh _showmount _sisu diff --git a/Completion/Unix/Command/_getfacl b/Completion/Unix/Command/_getfacl new file mode 100644 index 000000000..6c3b9f261 --- /dev/null +++ b/Completion/Unix/Command/_getfacl @@ -0,0 +1,11 @@ +#compdef getfacl getfacl.exe + +# cygwin 1.5.25 + +_arguments -s -S \ + '(--all -a)'{-a,--all}'[display the filename, owner, group, and ACL of the file]' \ + '(--dir -d)'{-d,--dir}'[display the filename, owner, group, and default ACL of the directory]' \ + '(--noname -n)'{-n,--noname}'[display user and group IDs instead of names]' \ + '(- *)'{-h,--help}'[display help information]' \ + '(- *)'{-v,--version}'[display version information]' \ + '*: :_files' diff --git a/Completion/Unix/Command/_setfacl b/Completion/Unix/Command/_setfacl new file mode 100644 index 000000000..c87a1d017 --- /dev/null +++ b/Completion/Unix/Command/_setfacl @@ -0,0 +1,13 @@ +#compdef setfacl setfacl.exe + +# cygwin 1.5.25 + +_arguments -s -S \ + '(-d, --delete)'{-d,--delete}'[delete one or more specified ACL entries]:ACL entry:' \ + '(-f, --file)'{-f,--file}'[set ACL entries for FILE to ACL entries read from a ACL_FILE]:ACL file:_files' \ + '(-m, --modify)'{-m,--modify}'[modify one or more specified ACL entries]:ACL entry:' \ + '(-r, --replace)'{-r,--replace}'[replace mask entry with maximum permissions needed for the file group class]' \ + '(-s, --substitute)'{-s,--substitute}'[substitute specified ACL entries for the \[ACL of FILE\]]:ACL entry:' \ + '(- *)'{-h,--help}'[output usage information and exit]' \ + '(- *)'{-v,--version}'[output version information and exit]' \ + '*: :_files' |