diff --git a/.tmux.conf b/.tmux.conf index 5c7aad5..eb78830 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -693,7 +693,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # perl -p -i -e "s/\bnew-window\b([^;}\n\"]*?)(?:\s+-c\s+(\\\?\"?|'?)#\{pane_current_path\}\2)/new-window\1/g" "$cfg" # fi # -# tmux_conf_new_pane_retain_current_path=${tmux_conf_new_pane_retain_current_path:-false} +# tmux_conf_new_pane_retain_current_path=${tmux_conf_new_pane_retain_current_path:-true} # if _is_enabled "$tmux_conf_new_pane_retain_current_path"; then # perl -p -i -e "s/\bsplit-window\b(?!([^;}\n\"]*?)(?:\s+-c\s+(\\\?\"?|'?)#\{pane_current_path\}\2))/split-window -c '#{pane_current_path}'/g" "$cfg" # else