Commands
Please see the up-to-date documentation for the most recent features.
These commands can be invoked with zellij [SUBCOMMAND]
.
For more details, each subcommand has its own help section when run with the
--help
flag (zellij [SUBCOMMAND] --help
).
attach [session-name]
short: a
Zellij will attempt to attach to an already running session, with the name
[session-name]
.
If given no [session-name]
and there is only one running session, it will attach to that session.
The attach subcommand will also accept the optional options
subcommand.
list-sessions
short: ls
Will list all the names of currently running sessions.
kill-sessions [target-session]
short: k
Will kill the session with the name of [target-session]
, if it is currently
running.
kill-all-sessions
short: ka
Will prompt the user to kill all running sessions.
options
Can be used to change the behaviour of zellij on startup. Will supercede options defined in the config file. To see a list of options look here.
setup
Functionality to help with the setup of zellij.
Flag | Description |
---|---|
--check | Check the configuration |
--clean | Start with default configuration |
--dump-config | Dump the default configuration file to stdout |
--dump-layout [LAYOUT] | Dump a specified default layout file to stdout |
--generate-completion [SHELL] | Generate completions for the specified shell |
Flags
These flags can be invoked with zellij --flag
.
Flag | Description |
---|---|
--help | Display the help prompt |
--debug | Gather additional debug information |
--version | Print version information |