fix(tmux-projectinator): Clear current buffer before CDing

This commit is contained in:
Tanguy Herbron 2024-01-12 20:46:57 +01:00
parent 4f743cbe34
commit b33bc5a778

View File

@ -23,6 +23,8 @@ spinner() {
} }
open_local () { open_local () {
# To avoid using pre-entered string in current buffer
tmux send-keys C-c
tmux send-keys "cd $PROJECT_PATH" Enter tmux send-keys "cd $PROJECT_PATH" Enter
# Close tmux popup if any # Close tmux popup if any