diff --git a/home/user/.bashrc b/home/user/.bashrc index 982c77c..7377e06 100644 --- a/home/user/.bashrc +++ b/home/user/.bashrc @@ -8,9 +8,9 @@ if \ command -v tmux &>/dev/null then if systemctl -q --user is-active tmux; then - exec tmux -N -L "$USER" new + exec tmux -N -L "$USER" new-session -A else - exec tmux + exec tmux new-session -A fi fi diff --git a/home/user/.config/zsh/.zshrc b/home/user/.config/zsh/.zshrc index e2ad7ba..dcc4471 100644 --- a/home/user/.config/zsh/.zshrc +++ b/home/user/.config/zsh/.zshrc @@ -8,9 +8,9 @@ if \ command -v tmux &>/dev/null then if systemctl -q --user is-active tmux; then - exec tmux -N -L "$USER" new + exec tmux -N -L "$USER" new-session -A else - exec tmux + exec tmux new-session -A fi fi