From 0fb61e6286f795749ab6654444d7cb7fdbab7aec Mon Sep 17 00:00:00 2001 From: Bernhard Rohloff Date: Wed, 12 Apr 2023 10:52:09 +0200 Subject: [PATCH] specify session in set-option command this fixes a bug where one cannot load a new session inside of a running tmux session --- lib/layout-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/layout-helpers.sh b/lib/layout-helpers.sh index cf862f9..e6b84ac 100644 --- a/lib/layout-helpers.sh +++ b/lib/layout-helpers.sh @@ -24,7 +24,7 @@ new_window() { tmuxifier-tmux new-window -t "$session:" "${winarg[@]}" "${command[@]}" # Disable renaming if a window name was given. - if [ -n "$1" ]; then tmuxifier-tmux set-option -t "$1" allow-rename off; fi + if [ -n "$1" ]; then tmuxifier-tmux set-option -t "$session:$1" allow-rename off; fi window="$(__get_current_window_index)" __go_to_window_or_session_path