From 268357abc053f0fa9425f32e84a3a9bfb298aebd Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 29 Jan 2009 16:02:54 +0000 Subject: unposted: move _getfacl and _setfacl from Completion/Cygwin/Command to Completion/Unix/Command. --- Completion/Unix/Command/.distfiles | 2 ++ Completion/Unix/Command/_getfacl | 11 +++++++++++ Completion/Unix/Command/_setfacl | 13 +++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 Completion/Unix/Command/_getfacl create mode 100644 Completion/Unix/Command/_setfacl (limited to 'Completion/Unix') 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' -- cgit 1.4.1