about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-12-01 02:37:28 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-12-01 02:37:28 +0000
commit3d3b4fc9e84d9332b59d26070d40bfe714954bc6 (patch)
treede4fdf11c8e5d80c2d6fbbeb55466f1521643166
parentb7589d91dad172a1544a5f2803d76bed0199752f (diff)
downloadzsh-3d3b4fc9e84d9332b59d26070d40bfe714954bc6.tar.gz
zsh-3d3b4fc9e84d9332b59d26070d40bfe714954bc6.tar.xz
zsh-3d3b4fc9e84d9332b59d26070d40bfe714954bc6.zip
Merge of 24134 from arno: additional options.
-rw-r--r--Completion/Unix/Command/_find71
1 files changed, 71 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find
new file mode 100644
index 000000000..3c21dcc94
--- /dev/null
+++ b/Completion/Unix/Command/_find
@@ -0,0 +1,71 @@
+#compdef find
+
+_arguments \
+  '*-daystart' \
+  '*-depth' \
+  '*-follow' \
+  '*-help' \
+  '*-ignore_readdir_race' \
+  '*-maxdepth:maximum search depth:' \
+  '*-mindepth:minimum search depth:' \
+  '*-mount' \
+  '*-noignore_readdir_race' \
+  '*-noleaf' \
+  '*-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \
+  '*-version' \
+  '*-warn' \
+  '*-nowarn' \
+  '*-xdev' \
+  '*-amin:access time (minutes):' \
+  '*-cmin:inode change time (minutes):' \
+  '*-mmin:modification time (minutes):' \
+  '*-atime:access time (days):' \
+  '*-ctime:inode change time (days):' \
+  '*-mtime:modification time (days):' \
+  '*-anewer:file to compare (access time):_files' \
+  '*-cnewer:file to compare (inode change time):_files' \
+  '*-newer:file to compare (modification time):_files' \
+  '*-used:access after inode change (days):' \
+  '*-empty' \
+  '*-false' \
+  '*-fstype:file system type:_file_systems' \
+  '*-gid:numeric group ID:' \
+  '*-group:group:_groups' \
+  '*-uid:numeric user ID:' \
+  '*-user:user:_users' \
+  '*-lname:link pattern to search:' \
+  '*-ilname:link pattern to search (case insensitive):' \
+  '*-name:name pattern to search:' \
+  '*-iname:name pattern to search (case insensitive):' \
+  '*-path:path pattern to search:' \
+  '*-ipath:path pattern to search (case insensitive):' \
+  '*-regex:regular expression to search:' \
+  '*-iregex:regular expression to search (case insensitive):' \
+  '*-wholename:full path pattern to search:' \
+  '*-iwholename:full path pattern to search (case insensitive):' \
+  '*-inum:inode number:' \
+  '*-links:number of links:' \
+  '*-nouser' \
+  '*-nogroup' \
+  '*-perm:file permission bits:' \
+  '*-size:file size:' \
+  '*-samefile:same inode as:_files' \
+  '*-true' \
+  '*-type:file type:((b\:block\ special\ file c\:character\ special\ file d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
+  '*-xtype:file type:((b\:block\ special\ file c\:character\ special\ file d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))' \
+  '*-delete' \
+  '*-exec:program: _command_names -e:*\;::program arguments: _normal' \
+  '*-execdir:program: _command_names -e:*\;::program arguments: _normal' \
+  '*-ok:program: _command_names -e:*\;::program arguments: _normal' \
+  '*-okdir:program: _command_names -e:*\;::program arguments: _normal' \
+  '*-fls:output file:_files' \
+  '*-fprint:output file:_files' \
+  '*-fprint0:output file:_files' \
+  '*-fprintf:output file:_files:output format:' \
+  '*-print' \
+  '*-print0' \
+  '*-printf:output format:' \
+  '*-prune' \
+  '*-quit' \
+  '*-ls' \
+  '*:directory:_files -/'