From 7347b5285ec3e8d6e5e36f51233c92c79f987e74 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Nov 2018 17:43:34 -0500 Subject: simplify default tmux sessions --- sh/aliases | 10 +++++----- tmux.conf | 9 --------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/sh/aliases b/sh/aliases index 98a58d4..1b789a8 100644 --- a/sh/aliases +++ b/sh/aliases @@ -23,11 +23,11 @@ alias bishamon='ssh doy@bishamon' alias tozt="ssh doy@tozt.net" # }}} # tmux sessions {{{ -alias main='tmux a -t main' -alias chat='tmux a -t chat' -alias work='tmux a -t work' -alias docs='tmux a -t docs' -alias misc='tmux a -t misc' +alias main='tmux new -As main' +alias chat='tmux new -As chat' +alias work='tmux new -As work' +alias docs='tmux new -As docs' +alias misc='tmux new -As misc' # }}} # other {{{ alias pm="find lib -type f" diff --git a/tmux.conf b/tmux.conf index 6831e20..fdcbfd2 100644 --- a/tmux.conf +++ b/tmux.conf @@ -47,12 +47,3 @@ bind -T copy-mode-vi ^C run "tmux send-keys -X copy-selection-and-cancel; tmux r bind ^V run "tmux-clipboard paste clipboard" unbind ^B - -%if #{||:#{==:#{host},hush},#{==:#{host},st-doy1.local}} -# set up default sessions -new-session -s work -c "${HOME}/work" -new-session -s chat -c "${HOME}" -new-session -s main -c "${HOME}" -new-session -s docs -c "${HOME}" -new-session -s misc -c "${HOME}" -%endif -- cgit v1.2.3-54-g00ecf