mirror of
1
0
Fork 0

introduced tmux_conf_new_session_retain_current_path (2)

tmux_conf_new_session_retain_current_path should be false by default
This commit is contained in:
Gregory Pakosz 2024-03-18 17:25:13 +01:00
parent 135c89357c
commit a795f9ec51
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
# perl -p -i -e "s/\bcommand-prompt\s+-p\s+new-session\s+\"new-session\s+-s\s+'%%'\"/new-session/g" "$cfg"
# fi
#
# tmux_conf_new_session_retain_current_path=${tmux_conf_new_session_retain_current_path:-true}
# tmux_conf_new_session_retain_current_path=${tmux_conf_new_session_retain_current_path:-false}
# if ! _is_disabled "$tmux_conf_new_session_retain_current_path" && _is_true "$tmux_conf_new_session_retain_current_path"; then
# perl -p -i -e "
# s/(?<!\bcommand-prompt -p )\bnew-session\b/new-session -c '#{pane_current_path}'/g" \