mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-05 08:41:15 +02:00
30802: add new command switches
This commit is contained in:
parent
1f359ae462
commit
ee040c6ba5
2 changed files with 27 additions and 9 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2012-11-16 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 30802: Completion/Unix/Command/_find: add new command switches
|
||||||
|
|
||||||
|
* 30801: Completion/X/Command/_urxvt, Completion/X/Type/_xft_fonts:
|
||||||
|
fix font completion for newer fontconfig & update urxvt completion
|
||||||
|
|
||||||
2012-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2012-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* 30789: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/hist.c,
|
* 30789: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/hist.c,
|
||||||
|
@ -341,5 +348,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5761 $
|
* $Revision: 1.5762 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -1,18 +1,23 @@
|
||||||
#compdef find
|
#compdef find
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
|
'(- *)-help' '(-)--help' \
|
||||||
|
'(- *)-version' '(-)--version' \
|
||||||
|
'(-L -P)-H[only follow symlinks when resolving command-line arguments]' \
|
||||||
|
'(-H -P)-L[follow symlinks]' \
|
||||||
|
'(-H -L)-P[never follow symlinks]' \
|
||||||
|
'-D[print diagnostics]:deb option:(help tree search stat rates opt exec)' \
|
||||||
|
'-O+[enable query optimisation]:level:(1 2 3)' \
|
||||||
'*-daystart' \
|
'*-daystart' \
|
||||||
'*-depth' \
|
'*-d' '*-depth' \
|
||||||
'*-follow' \
|
'*-follow' \
|
||||||
'*-help' \
|
'(-noignore_readdir_race)-ignore_readdir_race' \
|
||||||
'*-ignore_readdir_race' \
|
'*-maxdepth:maximum search depth' \
|
||||||
'*-maxdepth:maximum search depth:' \
|
'*-mindepth:minimum search depth' \
|
||||||
'*-mindepth:minimum search depth:' \
|
|
||||||
'*-mount' \
|
'*-mount' \
|
||||||
'*-noignore_readdir_race' \
|
'(-ignore_readdir_race)-noignore_readdir_race' \
|
||||||
'*-noleaf' \
|
'*-noleaf' \
|
||||||
'*-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \
|
'-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \
|
||||||
'*-version' \
|
|
||||||
'*-warn' \
|
'*-warn' \
|
||||||
'*-nowarn' \
|
'*-nowarn' \
|
||||||
'*-xdev' \
|
'*-xdev' \
|
||||||
|
@ -27,6 +32,7 @@ _arguments \
|
||||||
'*-newer:file to compare (modification time):_files' \
|
'*-newer:file to compare (modification time):_files' \
|
||||||
'*-used:access after inode change (days):' \
|
'*-used:access after inode change (days):' \
|
||||||
'*-empty' \
|
'*-empty' \
|
||||||
|
'*-executable' \
|
||||||
'*-false' \
|
'*-false' \
|
||||||
'*-fstype:file system type:_file_systems' \
|
'*-fstype:file system type:_file_systems' \
|
||||||
'*-gid:numeric group ID:' \
|
'*-gid:numeric group ID:' \
|
||||||
|
@ -48,6 +54,8 @@ _arguments \
|
||||||
'*-nouser' \
|
'*-nouser' \
|
||||||
'*-nogroup' \
|
'*-nogroup' \
|
||||||
'*-perm:file permission bits:' \
|
'*-perm:file permission bits:' \
|
||||||
|
'*-readable' \
|
||||||
|
'*-writable' \
|
||||||
'*-size:file size:' \
|
'*-size:file size:' \
|
||||||
'*-samefile:same inode as:_files' \
|
'*-samefile:same inode as:_files' \
|
||||||
'*-true' \
|
'*-true' \
|
||||||
|
@ -68,4 +76,7 @@ _arguments \
|
||||||
'*-prune' \
|
'*-prune' \
|
||||||
'*-quit' \
|
'*-quit' \
|
||||||
'*-ls' \
|
'*-ls' \
|
||||||
|
'*-and' '*-a' \
|
||||||
|
'*-or' '*-o' \
|
||||||
|
'*-not' \
|
||||||
'*:directory:_files -/'
|
'*:directory:_files -/'
|
||||||
|
|
Loading…
Reference in a new issue