diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2005-07-29 19:18:01 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-07-29 19:18:01 +0000 |
commit | d6e066a57395b6def7b6c05b92ace7efd1808c57 (patch) | |
tree | 8f443630a22233480fbc9dc4cbafc30837c8805c /Completion | |
parent | 13e4fd685632c91b8375facbe0c8dfbe433a9dd8 (diff) | |
download | zsh-d6e066a57395b6def7b6c05b92ace7efd1808c57.tar.gz zsh-d6e066a57395b6def7b6c05b92ace7efd1808c57.tar.xz zsh-d6e066a57395b6def7b6c05b92ace7efd1808c57.zip |
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 '=').
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_rsync | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync index ae97c5bcf..dd1160069 100644 --- a/Completion/Unix/Command/_rsync +++ b/Completion/Unix/Command/_rsync @@ -166,10 +166,10 @@ _arguments -s \ '(-C --cvs-exclude)'{-C,--cvs-exclude}'[auto-ignore files the same way CVS does]' \ '*'{-f,--filter=}'[add a file-filtering rule]:rule:' \ '*-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' \ - '*--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=[do not exclude files matching pattern]:pattern:' \ '--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]' \ '--version[print version number]' \ |