1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-15 20:51:27 +01:00

23860: complete patch names, omitting the .dpatch extension.

This commit is contained in:
Clint Adams 2007-09-29 22:01:50 +00:00
parent ba83c3a228
commit 0e62de36b4
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2007-09-29 Clint Adams <clint@zsh.org>
* 23860: Completion/Debian/Command/_dpatch-edit-patch: complete
patch names, omitting the .dpatch extension.
* 23854: Completion/Debian/Command/_dpatch-edit-patch: complete
colon-separated path after -P, other minor tweaks.

View file

@ -13,5 +13,5 @@ _arguments \
'(-l --shell)'{-l,--shell=}'[shell to be invoked]:shell:' \
'(-P --origtargzpath)'{-P,--origtargzpath=}'[colon-separated list of paths containing upstream tarballs, use with -b]:path to upstream tarballs:_dir_list' \
'(-h --help)'{-h,--help}'[help text]' \
'1:patch name:_files -W $PWD/debian/patches -g "*.dpatch"' \
'2:base patch name:_files -W $PWD/debian/patches -g "*.dpatch"'
'1:patch name:_files -W $PWD/debian/patches -g \*.dpatch\(-.\:r\)' \
'2:base patch name:_files -W $PWD/debian/patches -g \*.dpatch\(-.\:r\)'