This commit is contained in:
Bryan Ramos 2026-03-14 16:04:05 -04:00
parent 14efa80cab
commit 86209ebcf1
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit f6700648a3186a1a1cc7d004df7ef14953272c81
Subproject commit a90d89277c4bbd363d6929f434eef633bea439f5

View file

@ -36,7 +36,7 @@ in
# Auto-start tmux only on local TTY (not SSH, not in tmux already)
programs.bash.profileExtra = mkIf (!wm.enable) ''
if [[ $- == *i* ]] && [ -z "$DISPLAY" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ]; then
if [ -t 0 ] && [[ $- == *i* ]] && [ -z "$DISPLAY" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ]; then
exec tmux
fi
'';