Start new tmux session per window
This commit is contained in:
parent
b01daaceaa
commit
86c11e0fce
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue