mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-23 23:39:02 +01:00
Fix misleading error message that contained the wrong shell name due to a copy/paste mistake
This commit is contained in:
parent
48e33d5034
commit
4b99e4d0e8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user