changes :D

This commit is contained in:
Solomon Laing 2025-06-02 19:51:47 +09:30
parent 311c596a26
commit 05163e7f49
4 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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

3
.ready-tmux Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
tmux neww -n "scratch"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
tmux neww -n scratch