diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 83cdc29e..81793c7a 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 '';