Last active
November 28, 2017 22:36
-
-
Save mfb2/4088d142e4db84883d81feb060de946b to your computer and use it in GitHub Desktop.
tmux.sh
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
##################################### | |
# machine 1 | |
tmux -S /tmp/pair new -s ${machine1_session_name} | |
# now in tmux session! | |
chmod 777 /tmp/pair | |
##################################### | |
# machine 2 | |
tmux -S /tmp/pair new -s ${machine2_session_name} -t ${machine1_session_name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment