Package: git-buildpackage Version: 0.9.12 Severity: minor Tags: patch Steps to reproduce: • use zsh with tab-completion enabled • type "gbp import-dscs " • press <Tab>
Expected result: reasonable tab-completion Actual result: % gbp import-dscs _gbp-import-dscs:2: command not found: _gbp-import_dsc -- This seems to have been caused by a typo in the zsh completion. For solution please see attached patch. smcv
>From 8d25e306c0867b082ee6cddd09664e73e66a8029 Mon Sep 17 00:00:00 2001 From: Simon McVittie <s...@debian.org> Date: Sat, 29 Dec 2018 16:05:01 +0000 Subject: [PATCH] zsh completion: Fix typo in redirection to _gbp-import-dsc Signed-off-by: Simon McVittie <s...@debian.org> --- debian/git-buildpackage.zsh-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/git-buildpackage.zsh-completion b/debian/git-buildpackage.zsh-completion index 03c2d9e..196a37e 100644 --- a/debian/git-buildpackage.zsh-completion +++ b/debian/git-buildpackage.zsh-completion @@ -425,7 +425,7 @@ _gbp-import-dsc() { _gbp-import-dscs() { # same options - _gbp-import_dsc + _gbp-import-dsc _arguments \ '--debsnap[Fetch snapshots from snapshots.debian.org]' \ '--ignore-repo-config[Ignore options in gbp.conf]' -- 2.20.1