From a5999a62cd3b50278b303e7c0beda2c51608c35c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 1 Oct 2019 21:21:36 +0200 Subject: [PATCH] starship: fix fish syntax Fixes #858 --- modules/programs/starship.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index f61c044a..83cdc29e 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -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 ''; }; }