starship: fix fish syntax

Fixes #858
This commit is contained in:
Robert Helgesson 2019-10-01 21:21:36 +02:00
parent 761b3d0c12
commit a5999a62cd
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -83,9 +83,9 @@ in
'';
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
if [ -z "$INSIDE_EMACS" ]; then
if test -z "$INSIDE_EMACS"
eval (${pkgs.starship}/bin/starship init fish)
fi
end
'';
};
}