about summary refs log tree commit diff
path: root/Completion/Debian/Command/_dpatch-edit-patch
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian/Command/_dpatch-edit-patch')
-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\)'