Select and attach to any existing tmux session with a minimum of fuss.
- With no arguments:
- If only one active session exists, it will attach to it.
- If multiple active sessions exist, an interactive selecion menu will be presented.
- With optional session name argument:
- If presented with session name, simply attach to it.
- With optional create option:
- If presented with create option, create a new session with (optional) desired name, otherwise, a random session name will be assigned.
tma [-c] [tmux-session-name]
Attach to a session: tma [tmux-session-name]
Create a new session: tma -c [tmux-session-name]