about summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-09-29 22:01:50 +0000
committerClint Adams <clint@users.sourceforge.net>2007-09-29 22:01:50 +0000
commit0e62de36b417faab7675c295569c274641b2bd92 (patch)
treef9863d2dfa0aa0c122a6c7ca48ad599c82b9041e /Completion/Debian
parentba83c3a2281da7815437f2098839d966b4b2c161 (diff)
downloadzsh-0e62de36b417faab7675c295569c274641b2bd92.tar.gz
zsh-0e62de36b417faab7675c295569c274641b2bd92.tar.xz
zsh-0e62de36b417faab7675c295569c274641b2bd92.zip
23860: complete patch names, omitting the .dpatch extension.
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/_dpatch-edit-patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Debian/Command/_dpatch-edit-patch b/Completion/Debian/Command/_dpatch-edit-patch
index 7242f6bc5..2c463066a 100644
--- a/Completion/Debian/Command/_dpatch-edit-patch
+++ b/Completion/Debian/Command/_dpatch-edit-patch
@@ -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\)'