All apps/tmux

tmux

tmux

A terminal multiplexer: many terminals in one screen, in sessions that outlive the window.

Runs as tmux|macOS, Linux|github.com

Command form

ai-draft · 5 tasks · 12 fields

Create, list, attach to and kill tmux sessions. Windows, panes and key bindings are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui tmux

tmux new

New session

Create a new session.

New sessionExample values, fixed in this page — nothing here reaches a terminal
Basic
Session name*
string
Start directory
directory
TasksEach one presets the form for one job
Named session
session_namestart_dir
Detached session
session_namedetachedcommand
ParametersOnly these flags are editable in the form
Session name
string
-s
First window name
string
-n
Start directory
path
-c
Detached (do not attach)
boolean
-d
Attach if it exists
boolean
-A
Shell command
string · positional 0

tmux a

Attach to session

Attach to the last session or a named one.

Attach to sessionExample values, fixed in this page — nothing here reaches a terminal
Basic
Target session*
string
Detach other clients
-d
TasksEach one presets the form for one job
Attach to session
targetdetach_others
ParametersOnly these flags are editable in the form
Target session
string
-t
Detach other clients
boolean
-d

tmux ls

List sessions

List sessions on the server.

List sessionsExample values, fixed in this page — nothing here reaches a terminal
TasksEach one presets the form for one job
List sessions
ParametersOnly these flags are editable in the form
Format
string
-F
Filter
string
-f

tmux kill-ses

Kill session

Destroy a session. Running programs in it are terminated.

Kill sessionExample values, fixed in this page — nothing here reaches a terminal
Basic
Target session*
string
TasksEach one presets the form for one job
Kill session
target
ParametersOnly these flags are editable in the form
Target session
string
-t
Kill all but the target
boolean
-a
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed tmux against its version. A form that does not match your version is not offered.