Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _dpatch-edit-patch



On Sat, Sep 29, 2007 at 11:55:08PM +0200, Julien BLACHE wrote:
> Yep, works just fine !

Index: Completion/Debian/Command/_dpatch-edit-patch
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpatch-edit-patch,v
retrieving revision 1.2
diff -u -r1.2 _dpatch-edit-patch
--- Completion/Debian/Command/_dpatch-edit-patch	29 Sep 2007 21:21:42 -0000	1.2
+++ Completion/Debian/Command/_dpatch-edit-patch	29 Sep 2007 21:57:48 -0000
@@ -13,5 +13,5 @@
   '(-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\)'



Messages sorted by: Reverse Date, Date, Thread, Author