From 6ef15e0a26fbe98b2394606af9c17847c8e95948 Mon Sep 17 00:00:00 2001 From: knoflook Date: Wed, 24 Nov 2021 12:11:35 +0100 Subject: [PATCH] fix: remove fish from autocomplete --- cli/autocomplete.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/autocomplete.go b/cli/autocomplete.go index 42c1285b..11bcb548 100644 --- a/cli/autocomplete.go +++ b/cli/autocomplete.go @@ -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 }