summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-11-30 22:59:00 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-11-30 22:59:00 +0000
commitfe9bc8798858117937473cb31bd9a39d35e34f77 (patch)
tree3fbf291f5b47c518e529c23584361a8aa892ee61
parent04b340de1727a34dde20b0b390bec7ad202e7e92 (diff)
downloadzsh-fe9bc8798858117937473cb31bd9a39d35e34f77.tar.gz
zsh-fe9bc8798858117937473cb31bd9a39d35e34f77.tar.xz
zsh-fe9bc8798858117937473cb31bd9a39d35e34f77.zip
arno: 24134: extra find completion options
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_find12
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bdd6f4fd5..9145a7238 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-30  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* arno: 24134: Completion/Unix/Command/_find: additional options.
+
 2007-11-29  Peter Stephenson  <pws@csr.com>
 
 	* 24130 (belatedly): Doc/Zsh/calsys.yo,
diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find
index 2bfde6787..3c21dcc94 100644
--- a/Completion/Unix/Command/_find
+++ b/Completion/Unix/Command/_find
@@ -5,11 +5,16 @@ _arguments \
   '*-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):' \
@@ -36,17 +41,23 @@ _arguments \
   '*-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' \
@@ -55,5 +66,6 @@ _arguments \
   '*-print0' \
   '*-printf:output format:' \
   '*-prune' \
+  '*-quit' \
   '*-ls' \
   '*:directory:_files -/'