diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index c35a8713a..dee4e6879 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 [[ $TERM != "dumb" && -z $INSIDE_EMACS ]]; then + if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then eval "$(${cfg.package}/bin/starship init bash)" fi '';