Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
alias tmux-alias="tmux new-session -A -s foo"
# Usage
tmux-alias # Attaches to existing "foo" session or makes a new "foo" session in the current directory
tmux-alias -c /tmp # Attaches to existing "foo" session or makes a new "foo" session in /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.