mirror of
https://github.com/Andrey0189/nixos-config-reborn.git
synced 2025-09-15 10:06:00 +03:00
tmux autostart
This commit is contained in:
@@ -30,5 +30,12 @@
|
||||
|
||||
history.size = 10000;
|
||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||
|
||||
initExtra = ''
|
||||
# Start Tmux automatically if not already running
|
||||
if [ -z "$TMUX" ]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user