diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index cea9c49be..c35a8713a 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -89,7 +89,7 @@ in { mkIf (cfg.settings != { }) { source = configFile cfg.settings; }; programs.bash.initExtra = mkIf cfg.enableBashIntegration '' - if [[ -z $INSIDE_EMACS ]]; then + if [[ $TERM != "dumb" && -z $INSIDE_EMACS ]]; then eval "$(${cfg.package}/bin/starship init bash)" fi '';