Fix misleading error message that contained the wrong shell name due to a copy/paste mistake

This commit is contained in:
David Dworken 2023-09-14 23:09:15 -07:00
parent 48e33d5034
commit 4b99e4d0e8
No known key found for this signature in database

View File

@ -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)