1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

no tmux in tty

This commit is contained in:
andrey_varnavskiy
2024-12-06 14:45:59 +05:00
parent ae850259a9
commit a54f176e95

View File

@@ -32,7 +32,7 @@
initExtra = '' initExtra = ''
# Start Tmux automatically if not already running # Start Tmux automatically if not already running
if [ -z "$TMUX" ]; then if [ -z "$TMUX" ] && [ -n "$DISPLAY" ]; then
tmux attach-session -t default || tmux new-session -s default tmux attach-session -t default || tmux new-session -s default
fi fi
''; '';