diff --git a/modules/home-manager/cli/tmux/files/create-tmux-session.sh b/modules/home-manager/cli/tmux/files/create-tmux-session.sh index 3184124..1e8b3f9 100755 --- a/modules/home-manager/cli/tmux/files/create-tmux-session.sh +++ b/modules/home-manager/cli/tmux/files/create-tmux-session.sh @@ -104,7 +104,7 @@ tmux_hsplit() { tmux_neww() { local name="$1" debug "execute neww with name '${name}'" - local command=(tmux new-window -t "$SESSION" -c "$CURRENT_PATH") + local command=(tmux new-window -t "${SESSION}:$" -c "$CURRENT_PATH" -a) if [[ -n "$name" ]]; then command+=(-n "$name") fi