From 05163e7f493cc1660295ff82460ee84a119d1b79 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 2 Jun 2025 19:51:47 +0930 Subject: [PATCH] changes :D --- .local/bin/ready-tmux | 4 ++-- .local/bin/tmux-sessioniser | 5 ++++- .ready-tmux | 3 +++ ready-tmux | 3 --- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100755 .ready-tmux delete mode 100755 ready-tmux diff --git a/.local/bin/ready-tmux b/.local/bin/ready-tmux index f569443..320018b 100755 --- a/.local/bin/ready-tmux +++ b/.local/bin/ready-tmux @@ -1,7 +1,7 @@ #!/usr/bin/env bash -if [[ -x ".ready-tmux" ]]; then - ./ready-tmux +if [[ -x "./.ready-tmux" ]]; then + ./.ready-tmux elif [[ -x "$HOME/.ready-tmux" ]]; then "$HOME/.ready-tmux" fi diff --git a/.local/bin/tmux-sessioniser b/.local/bin/tmux-sessioniser index 083ba77..9841486 100755 --- a/.local/bin/tmux-sessioniser +++ b/.local/bin/tmux-sessioniser @@ -32,4 +32,7 @@ fi tmux new-session -ds "$selected_name" -c "$selected" switch_to -tmux send-keys -t "$selected_name" "ready-tmux" +tmux send-keys -t "$selected_name" "ready-tmux +" + +echo test diff --git a/.ready-tmux b/.ready-tmux new file mode 100755 index 0000000..c988de3 --- /dev/null +++ b/.ready-tmux @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +tmux neww -n "scratch" diff --git a/ready-tmux b/ready-tmux deleted file mode 100755 index 9b975f1..0000000 --- a/ready-tmux +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -tmux neww -n scratch