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/Cygwin/Command/.distfiles | 4 ++-- Completion/Cygwin/Command/_getfacl | 11 ----------- Completion/Cygwin/Command/_setfacl | 13 ------------- Completion/Unix/Command/.distfiles | 2 ++ Completion/Unix/Command/_getfacl | 11 +++++++++++ Completion/Unix/Command/_setfacl | 13 +++++++++++++ 6 files changed, 28 insertions(+), 26 deletions(-) delete mode 100644 Completion/Cygwin/Command/_getfacl delete mode 100644 Completion/Cygwin/Command/_setfacl create mode 100644 Completion/Unix/Command/_getfacl create mode 100644 Completion/Unix/Command/_setfacl (limited to 'Completion') diff --git a/Completion/Cygwin/Command/.distfiles b/Completion/Cygwin/Command/.distfiles index d2622cdd5..eec683b01 100644 --- a/Completion/Cygwin/Command/.distfiles +++ b/Completion/Cygwin/Command/.distfiles @@ -1,7 +1,7 @@ DISTFILES_SRC=' .distfiles _cygcheck _cygpath _cygrunsrv _cygserver -_cygstart _dumper _getclip _getfacl +_cygstart _dumper _getclip _mkshortcut _mkzsh _pscp _putclip -_readshortcut _setfacl +_readshortcut ' diff --git a/Completion/Cygwin/Command/_getfacl b/Completion/Cygwin/Command/_getfacl deleted file mode 100644 index 6c3b9f261..000000000 --- a/Completion/Cygwin/Command/_getfacl +++ /dev/null @@ -1,11 +0,0 @@ -#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/Cygwin/Command/_setfacl b/Completion/Cygwin/Command/_setfacl deleted file mode 100644 index c87a1d017..000000000 --- a/Completion/Cygwin/Command/_setfacl +++ /dev/null @@ -1,13 +0,0 @@ -#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' 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