fix: remove fish from autocomplete #138

Merged
knoflook merged 1 commits from knoflook/abra:main into main 2021-11-24 11:12:43 +00:00

View File

@ -56,7 +56,7 @@ Example:
Supported shells are as follows:
fish
fizsh
zsh
bash
`,
@ -71,14 +71,14 @@ Supported shells are as follows:
supportedShells := map[string]bool{
"bash": true,
"zsh": true,
"fish": true,
"fizsh": true,
}
if _, ok := supportedShells[shellType]; !ok {
logrus.Fatalf("%s is not a supported shell right now, sorry", shellType)
}
if shellType == "fish" {
if shellType == "fizsh" {
shellType = "zsh" // handled the same on the autocompletion side
}