Created
June 29, 2021 05:26
-
-
Save bryanmylee/d495bcc059fbfc5106e08238a1848817 to your computer and use it in GitHub Desktop.
tmux automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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