mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
Reorder the --include/--include-from --exclude/--exclude-from lines
so that the completion system will properly complete files after the ...-from options (the completion system is buggy if the shorter option is first and ends with an '=').
This commit is contained in:
parent
13e4fd6856
commit
d6e066a573
@ -166,10 +166,10 @@ _arguments -s \
|
|||||||
'(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \
|
'(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \
|
||||||
'*'{-f,--filter=}'[add a file-filtering rule]:rule:' \
|
'*'{-f,--filter=}'[add a file-filtering rule]:rule:' \
|
||||||
'*-F[same as --filter="dir-merge /.rsync-filter", repeated: --filter="- .rsync-filter"]' \
|
'*-F[same as --filter="dir-merge /.rsync-filter", repeated: --filter="- .rsync-filter"]' \
|
||||||
'*--exclude=[exclude files matching pattern]:pattern:' \
|
|
||||||
'--exclude-from=[read exclude patterns from specified file]:file:_files' \
|
'--exclude-from=[read exclude patterns from specified file]:file:_files' \
|
||||||
'*--include=[do not exclude files matching pattern]:pattern:' \
|
'*--exclude=[exclude files matching pattern]:pattern:' \
|
||||||
'--include-from=[read include patterns from specified file]:file:_files' \
|
'--include-from=[read include patterns from specified file]:file:_files' \
|
||||||
|
'*--include=[do not exclude files matching pattern]:pattern:' \
|
||||||
'--files-from=[read list of source-file names from specified file]:file:_files' \
|
'--files-from=[read list of source-file names from specified file]:file:_files' \
|
||||||
'(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \
|
'(-0 --from0)'{-0,--from0}'[all *-from file lists are delimited by nulls]' \
|
||||||
'--version[print version number]' \
|
'--version[print version number]' \
|
||||||
|
Loading…
Reference in New Issue
Block a user