From 68b02f07b0b1c0e28b5b296f22b83fff2bea9979 Mon Sep 17 00:00:00 2001 From: Paul Laffitte Date: Mon, 30 Sep 2024 17:49:00 +0200 Subject: [PATCH] Prepend commands in run_cmd with a space to prevent them to be stored in the history --- lib/layout-helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/layout-helpers.sh b/lib/layout-helpers.sh index 593e165..c9a91ab 100644 --- a/lib/layout-helpers.sh +++ b/lib/layout-helpers.sh @@ -408,7 +408,7 @@ __go_to_window_or_session_path() { # local window_or_session_root=${window_root-$session_root} if [ -n "$target_path" ]; then - run_cmd "cd \"$target_path\"" - run_cmd "clear" + run_cmd " cd \"$target_path\"" + run_cmd " clear" fi }