diff --git a/home-mods/shell/default.nix b/home-mods/shell/default.nix index 98b0415..8b4c4ef 100644 --- a/home-mods/shell/default.nix +++ b/home-mods/shell/default.nix @@ -51,9 +51,12 @@ in enable = true; package = pkgs.fish; + # TODO: unify into single if interactiveShellInit = '' if test -z $INSIDE_EMACS ; - eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect) + if test $TERM != linux ; + eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect) + end end any-nix-shell fish --info-right | source