changes :D
This commit is contained in:
parent
311c596a26
commit
05163e7f49
@ -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
|
||||
|
||||
@ -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
3
.ready-tmux
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tmux neww -n "scratch"
|
||||
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tmux neww -n scratch
|
||||
Loading…
Reference in New Issue
Block a user