diff options
author | Clint Adams <clint@users.sourceforge.net> | 2007-09-29 22:01:50 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2007-09-29 22:01:50 +0000 |
commit | 0e62de36b417faab7675c295569c274641b2bd92 (patch) | |
tree | f9863d2dfa0aa0c122a6c7ca48ad599c82b9041e | |
parent | ba83c3a2281da7815437f2098839d966b4b2c161 (diff) | |
download | zsh-0e62de36b417faab7675c295569c274641b2bd92.tar.gz zsh-0e62de36b417faab7675c295569c274641b2bd92.tar.xz zsh-0e62de36b417faab7675c295569c274641b2bd92.zip |
23860: complete patch names, omitting the .dpatch extension.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpatch-edit-patch | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 9db72c329..180667c68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. 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\)' |