Skip to content

Commit 68b02f0

Browse files
committed
Prepend commands in run_cmd with a space to prevent them to be stored in the history
1 parent 895dace commit 68b02f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/layout-helpers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ __go_to_window_or_session_path() {
408408

409409
# local window_or_session_root=${window_root-$session_root}
410410
if [ -n "$target_path" ]; then
411-
run_cmd "cd \"$target_path\""
412-
run_cmd "clear"
411+
run_cmd " cd \"$target_path\""
412+
run_cmd " clear"
413413
fi
414414
}

0 commit comments

Comments
 (0)