Created
January 27, 2012 18:40
-
-
Save gazoombo/1690233 to your computer and use it in GitHub Desktop.
Aliases for shared tmux sessions
This file contains hidden or 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
alias tmuxmulti="if tmux -S /tmp/multi has -t AO-PPS; then reattach-to-user-namespace tmux -S /tmp/multi attach; else reattach-to-user-namespace tmux -S /tmp/multi new -s AO-PPS; fi" | |
alias tmuxer="ssh [email protected] -t '/opt/local/bin/tmux -S /tmp/multi attach'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment