Refactor tmux-oneshot.sh to improve command configuration readability

This commit is contained in:
2025-10-04 12:11:03 +02:00
parent 31a0cb1a9f
commit e46aba65be

View File

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