Skip to content

Instantly share code, notes, and snippets.

@bryanmylee
Created June 29, 2021 05:26
Show Gist options
  • Save bryanmylee/d495bcc059fbfc5106e08238a1848817 to your computer and use it in GitHub Desktop.
Save bryanmylee/d495bcc059fbfc5106e08238a1848817 to your computer and use it in GitHub Desktop.
tmux automation
LIST=... # should be a space-separated list of items
for VAR in $LIST
do
tmux new-window -n "{name}" "{command}; /bin/bash" &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment