tmux attach create session if one does not exist
This commit is contained in:
@@ -33,4 +33,7 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# if run as "tmux attach", create a session if one does not already exist
|
||||
new-session -n $HOST
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user