mirror of
https://github.com/balkian/dotfiles.git
synced 2024-12-25 01:38:13 +00:00
Hard to track problem with tmux's config
To make "tmux attach" create a session when there aren't any active yet, you need to call "new-session" in the config. My problem was that new-session was set before setting the terminal to 256 colors. Hence, when a session is created, it has TERM=screen by default.
This commit is contained in:
parent
2b723ac941
commit
bc8b9f26d7
@ -54,9 +54,6 @@ setw -g mode-mouse on
|
||||
set-option -g mouse-select-pane on
|
||||
set-option -g mouse-resize-pane on
|
||||
|
||||
# Start new-session as default
|
||||
new-session
|
||||
|
||||
# resize only if actively looking
|
||||
setw -g aggressive-resize on
|
||||
|
||||
@ -98,3 +95,7 @@ bind m run "tmux-zoom.sh"
|
||||
|
||||
# Fix for emacs and the like
|
||||
set -s escape-time 0
|
||||
|
||||
# Start new-session as default
|
||||
new-session
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user