From a62e4c88d7b84ac54a96084f3490703ba34bdd2e Mon Sep 17 00:00:00 2001 From: Marcel Transier <34482842+marceltransier@users.noreply.github.com> Date: Tue, 27 Dec 2022 13:00:56 +0100 Subject: [PATCH] starship: re-add ion integration which was apparently mistakenly removed in commit 7ae7250 --- modules/programs/starship.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 0fb4d39a..05763c0b 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