switch tmux to individual sessions
This commit is contained in:
@@ -4,6 +4,12 @@ set-option -g focus-events on
|
||||
set -s escape-time 0
|
||||
set -g detach-on-destroy off
|
||||
set -g destroy-unattached off
|
||||
|
||||
# bare `tmux` (no subcommand, e.g. from mkshrc's auto-attach) gets its own
|
||||
# session grouped with "main" - shared panes/windows, independent per-client
|
||||
# current-window navigation. Self-cleans on detach via destroy-unattached.
|
||||
new-session -d -s main
|
||||
set -g default-client-command "new-session -t main ; set-option destroy-unattached on"
|
||||
# set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g history-limit 50000
|
||||
|
||||
Reference in New Issue
Block a user