Fix bash completion install path
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
23fd711be2
commit
c2d396d68f
|
@ -98,7 +98,7 @@ func installCompletionCmd(hc interp.HandlerContext, cmd string, args []string) e
|
||||||
var prefix string
|
var prefix string
|
||||||
switch shell {
|
switch shell {
|
||||||
case "bash":
|
case "bash":
|
||||||
prefix = "/usr/share/bash-completion/completion"
|
prefix = "/usr/share/bash-completion/completions"
|
||||||
case "zsh":
|
case "zsh":
|
||||||
prefix = "/usr/share/zsh/site-functions"
|
prefix = "/usr/share/zsh/site-functions"
|
||||||
name = "_" + name
|
name = "_" + name
|
||||||
|
|
Loading…
Reference in New Issue