starship: use promptInit for fish

This commit is contained in:
brettm12345 2020-02-07 06:47:35 -05:00 committed by Robert Helgesson
parent f0fe18cd22
commit 7b7499dd70
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -85,7 +85,7 @@ in {
fi
'';
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
programs.fish.promptInit = mkIf cfg.enableFishIntegration ''
if test -z "$INSIDE_EMACS"
eval (${cfg.package}/bin/starship init fish)
end