Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tmux/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'vaaleyard/tmux-dotbar'
# continuum autosaves by appending a hook to status-right, so it must load
# after anything that sets status-right (dotbar) or saves silently stop.
set -g @plugin 'tmux-plugins/tmux-continuum'

set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-strategy-nvim 'session'
Expand Down
4 changes: 3 additions & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ export CLAUDE_CODE_NO_FLICKER=1

# ---- aliases / wrappers ----
# Attach to or create the 'main' session when invoked bare; pass through otherwise.
# -D detaches any other client first: with window-size latest, a stale smaller
# client (old tab/split) would otherwise pin windows to its size.
tmux() {
if (( $# == 0 )); then
command tmux new-session -A -s main
command tmux new-session -A -D -s main
else
command tmux "$@"
fi
Expand Down
Loading