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:
@@ -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
|
||||||
'';
|
'';
|
||||||
|
Reference in New Issue
Block a user