From 86c11e0fce17b6a2df83c60efd29c7b1bdd138e6 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 9 Feb 2023 16:49:43 +0000 Subject: [PATCH] Start new tmux session per window --- config/tmux/tmux.conf | 1 + home/zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index e1ea6e9f..1963801d 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -13,6 +13,7 @@ set -g @plugin 'sunaku/tmux-navigate' # Plugin options. set -g @tilish-navigate 'on' set -g @tilish-dmenu 'on' +set -g @tmux_window_name_use_tilde "True" # Nightfox colors for Tmux # Style: nightfox diff --git a/home/zshrc b/home/zshrc index 6f99e708..2286bf12 100644 --- a/home/zshrc +++ b/home/zshrc @@ -1,6 +1,6 @@ # Connect to TMUX if not login shell and not already connected if [[ $- =~ i ]] && [[ -z "$TMUX" ]]; then - tmux new -A -s main + tmux new; exit 0 fi # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.