diff --git a/tmux-oneshot.sh b/tmux-oneshot.sh index ed4a705..f3c0dfc 100644 --- a/tmux-oneshot.sh +++ b/tmux-oneshot.sh @@ -2,13 +2,14 @@ # tmux-oneshot.sh # Run a single command in a tmux session +SESSION="" +ATTACH_SESSION=0 + # Hardcoded command and settings (uncomment and modify as needed) # SESSION="mytest" # COMMAND="ping google.com" # ATTACH_SESSION=1 -SESSION="" -ATTACH_SESSION=0 while getopts "t:a" opt; do case "$opt" in