From 038b4e1de308b7bbe93cab2aed305e68cfcde7cb Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Tue, 10 Aug 2021 15:57:56 +0300 Subject: [PATCH] dev-util/github-cli: Fix name for the bash completion The completion file ought to have the same name as the binary it tries to complete. Otherwise, it can't be dynamically loaded. Signed-off-by: Alex Turbov --- packages/dev-util/github-cli/github-cli-1.14.0.exheres-0 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dev-util/github-cli/github-cli-1.14.0.exheres-0 b/packages/dev-util/github-cli/github-cli-1.14.0.exheres-0 index afc361b..33c5b02 100644 --- a/packages/dev-util/github-cli/github-cli-1.14.0.exheres-0 +++ b/packages/dev-util/github-cli/github-cli-1.14.0.exheres-0 @@ -30,8 +30,8 @@ src_compile() { emake emake manpages - edo go run ./cmd/gh completion -s bash > gh.bash-completion - edo go run ./cmd/gh completion -s zsh > _gh + edo go run ./cmd/gh completion -s bash > gh.bash-completion + edo go run ./cmd/gh completion -s zsh > _gh esandbox enable_net } @@ -40,7 +40,7 @@ src_install() { emagicdocs doman share/man/man?/gh*.? - dobashcompletion gh.bash-completion + dobashcompletion gh.bash-completion gh dozshcompletion _gh }