only start tmux if SSH_TTY is set
Some checks reported errors
Hydra devShells.x86_64-linux.default Hydra build #23851 of nixos-config:pr618:devShells.x86_64-linux.default
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23861 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23864 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23860 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522-installer Hydra build #23863 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.not522 Hydra build #23862 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23859 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-06 07:38:35 +01:00
parent ee88bcf28c
commit 3be3aa0cb2

View file

@ -36,6 +36,7 @@
programs.fish.shellInit = '' programs.fish.shellInit = ''
if status is-interactive if status is-interactive
and not set -q TMUX and not set -q TMUX
and not set -q SSH_TTY
tmux attach || tmux tmux attach || tmux
end end
''; '';