aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/programs/starship.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix
index 6889431a20a..8462d331501 100644
--- a/modules/programs/starship.nix
+++ b/modules/programs/starship.nix
@@ -101,7 +101,7 @@ in {
'';
programs.fish.promptInit = mkIf cfg.enableFishIntegration ''
- if test [[ "$TERM" != "dumb" -a \( -n "$INSIDE_EMACS" -o "$INSIDE_EMACS" == "vterm" \) ]]
+ if test "$TERM" != "dumb" -a \( -z "$INSIDE_EMACS" -o "$INSIDE_EMACS" = "vterm" \)
eval (${cfg.package}/bin/starship init fish)
end
'';