1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 15:09:46 +01:00

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 fi
''; '';
programs.fish.shellInit = mkIf cfg.enableFishIntegration '' programs.fish.promptInit = mkIf cfg.enableFishIntegration ''
if test -z "$INSIDE_EMACS" if test -z "$INSIDE_EMACS"
eval (${cfg.package}/bin/starship init fish) eval (${cfg.package}/bin/starship init fish)
end end