summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.tmux.conf6
2 files changed, 1 insertions, 7 deletions
diff --git a/.bashrc b/.bashrc
index ef0c998e..775b778f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -42,7 +42,7 @@ alias vi="$EDITOR"
alias e="$EDITOR"
alias mrs="mr -m status"
alias d="emacsclient -c -n -e '(dired \".\")'"
-alias ta="tmux attach-session"
+alias ta="tmux new-session -A -s default"
alias rax="screen -URaAx"
alias lid-hold="systemd-inhibit --what=sleep --who=Sean --why=manual --mode=block cat"
alias new-login-shell="exec su -l $USER" # get new UNIX group without relog
diff --git a/.tmux.conf b/.tmux.conf
index 2d1009d3..f6700d1d 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -61,12 +61,6 @@ set -g status-attr dim
set -wg window-status-current-fg white
set -wg window-status-current-bg black
-# ---- startup ----
-
-# having this here means that `tmux attach` will start a new session
-# and attach to it, if no session exists yet
-new-session
-
# ---- terminal keycode fixes ----
# set -g terminal-overrides "xterm*:kf1=\e[11~:kf2=\e[12~:kf3=\e[13~:kf4=\e[14~:kf5=\e[15~:kf6=\e[17~:kf7=\e[18~:kf8=\e[19~"