From 3d546e0d01996268e717b13e727bd53f6b14fb1a Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 1 Oct 2019 21:56:56 +0200 Subject: [PATCH] starship: use `[[` in bash init --- modules/programs/starship.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 83cdc29ec..81793c7a6 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -71,7 +71,7 @@ in }; programs.bash.initExtra = mkIf cfg.enableBashIntegration '' - if [ -z "$INSIDE_EMACS" ]; then + if [[ -z $INSIDE_EMACS ]]; then eval "$(${pkgs.starship}/bin/starship init bash)" fi '';