Prepend commands in run_cmd with a space to prevent them to be stored in the history

This commit is contained in:
Paul Laffitte
2024-09-30 17:49:00 +02:00
parent 895dace853
commit 68b02f07b0

View File

@@ -408,7 +408,7 @@ __go_to_window_or_session_path() {
# local window_or_session_root=${window_root-$session_root} # local window_or_session_root=${window_root-$session_root}
if [ -n "$target_path" ]; then if [ -n "$target_path" ]; then
run_cmd "cd \"$target_path\"" run_cmd " cd \"$target_path\""
run_cmd "clear" run_cmd " clear"
fi fi
} }