From b33bc5a7781ec27eb029fc230fc740866f76f73f Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 12 Jan 2024 20:46:57 +0100 Subject: [PATCH] fix(tmux-projectinator): Clear current buffer before CDing --- .bin/tmux-projectinator | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bin/tmux-projectinator b/.bin/tmux-projectinator index 3ce9888..5a801a1 100755 --- a/.bin/tmux-projectinator +++ b/.bin/tmux-projectinator @@ -23,6 +23,8 @@ spinner() { } open_local () { + # To avoid using pre-entered string in current buffer + tmux send-keys C-c tmux send-keys "cd $PROJECT_PATH" Enter # Close tmux popup if any