Start new tmux session per window

This commit is contained in:
Evie Litherland-Smith 2023-02-09 16:49:43 +00:00
parent b01daaceaa
commit 86c11e0fce
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ set -g @plugin 'sunaku/tmux-navigate'
# Plugin options. # Plugin options.
set -g @tilish-navigate 'on' set -g @tilish-navigate 'on'
set -g @tilish-dmenu 'on' set -g @tilish-dmenu 'on'
set -g @tmux_window_name_use_tilde "True"
# Nightfox colors for Tmux # Nightfox colors for Tmux
# Style: nightfox # Style: nightfox

View file

@ -1,6 +1,6 @@
# Connect to TMUX if not login shell and not already connected # Connect to TMUX if not login shell and not already connected
if [[ $- =~ i ]] && [[ -z "$TMUX" ]]; then if [[ $- =~ i ]] && [[ -z "$TMUX" ]]; then
tmux new -A -s main tmux new; exit 0
fi fi
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.