From cf8b6862a812299ea07a0da053c634a9f9fa361f Mon Sep 17 00:00:00 2001 From: Bad Date: Tue, 7 Sep 2021 18:53:22 +0200 Subject: [PATCH] Don't autoattach to tmux --- users/profiles/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/profiles/zsh/default.nix b/users/profiles/zsh/default.nix index 74c9808..0033611 100644 --- a/users/profiles/zsh/default.nix +++ b/users/profiles/zsh/default.nix @@ -12,7 +12,7 @@ initExtraFirst = '' if [ -z "$TMUX" ] && [[ $- == *i* ]] then - (tmux ls | grep -vq attached && tmux at) || tmux + tmux if [ ! -f /tmp/dontdie ] then exit