about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_getfacl11
-rw-r--r--Completion/Unix/Command/_setfacl13
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'