starship: use promptInit
for fish
This commit is contained in:
parent
f0fe18cd22
commit
7b7499dd70
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue