From 4b99e4d0e83b66ba961b1d7a6003fa2f98831ffb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Thu, 14 Sep 2023 23:09:15 -0700 Subject: [PATCH] Fix misleading error message that contained the wrong shell name due to a copy/paste mistake --- client/cmd/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/install.go b/client/cmd/install.go index d1375b5..ae5ece8 100644 --- a/client/cmd/install.go +++ b/client/cmd/install.go @@ -236,7 +236,7 @@ func configureFish(homedir, binaryPath string) error { } err = os.WriteFile(getFishConfigPath(homedir), []byte(configContents), 0o644) if err != nil { - return fmt.Errorf("failed to write config.zsh file: %w", err) + return fmt.Errorf("failed to write config.fish file: %w", err) } // Check if we need to configure the fishrc fishIsConfigured, err := isFishConfigured(homedir)