Fix bash completion install path
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2022-12-02 12:31:53 -08:00
parent 23fd711be2
commit c2d396d68f
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ func installCompletionCmd(hc interp.HandlerContext, cmd string, args []string) e
var prefix string
switch shell {
case "bash":
prefix = "/usr/share/bash-completion/completion"
prefix = "/usr/share/bash-completion/completions"
case "zsh":
prefix = "/usr/share/zsh/site-functions"
name = "_" + name