diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 0fb4d39a4..05763c0ba 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -124,6 +124,12 @@ in { end ''; + programs.ion.initExtra = mkIf cfg.enableIonIntegration '' + if test $TERM != "dumb" && not exists -s INSIDE_EMACS || test $INSIDE_EMACS = "vterm" + eval $(${starshipCmd} init ion) + end + ''; + programs.nushell = mkIf cfg.enableNushellIntegration { # Unfortunately nushell doesn't allow conditionally sourcing nor # conditionally setting (global) environment variables, which is why the