forked from coop-cloud/abra
fix: remove fish from autocomplete
This commit is contained in:
parent
dd0f328a65
commit
6ef15e0a26
|
@ -56,7 +56,7 @@ Example:
|
|||
|
||||
Supported shells are as follows:
|
||||
|
||||
fish
|
||||
fizsh
|
||||
zsh
|
||||
bash
|
||||
`,
|
||||
|
@ -69,16 +69,16 @@ Supported shells are as follows:
|
|||
}
|
||||
|
||||
supportedShells := map[string]bool{
|
||||
"bash": true,
|
||||
"zsh": true,
|
||||
"fish": true,
|
||||
"bash": true,
|
||||
"zsh": 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue