#compdef zellij

autoload -U is-at-least

_zellij() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" : \
'--max-panes=[Maximum panes on screen, caution\: opening more panes will close old ones]:MAX_PANES:_default' \
'--data-dir=[Change where zellij looks for plugins]:DATA_DIR:_files' \
'--server=[Run server listening at the specified socket path]:SERVER:_files' \
'-s+[Specify name of a new session]:SESSION:_default' \
'--session=[Specify name of a new session]:SESSION:_default' \
'-l+[Name of a predefined layout inside the layout directory or the path to a layout file if inside a session (or using the --session flag) will be added to the session as a new tab or tabs, otherwise will start a new session]:LAYOUT:_files' \
'--layout=[Name of a predefined layout inside the layout directory or the path to a layout file if inside a session (or using the --session flag) will be added to the session as a new tab or tabs, otherwise will start a new session]:LAYOUT:_files' \
'(-l --layout -n --new-session-with-layout)--layout-string=[Raw KDL layout string to use directly (instead of a file path) if inside a session (or using the --session flag) will be added to the session as a new tab or tabs, otherwise will start a new session]:LAYOUT_STRING:_default' \
'-n+[Name of a predefined layout inside the layout directory or the path to a layout file Will always start a new session, even if inside an existing session]:NEW_SESSION_WITH_LAYOUT:_files' \
'--new-session-with-layout=[Name of a predefined layout inside the layout directory or the path to a layout file Will always start a new session, even if inside an existing session]:NEW_SESSION_WITH_LAYOUT:_files' \
'-c+[Change where zellij looks for the configuration file]:CONFIG:_files' \
'--config=[Change where zellij looks for the configuration file]:CONFIG:_files' \
'--config-dir=[Change where zellij looks for the configuration directory]:CONFIG_DIR:_files' \
'-d[Specify emitting additional debug information]' \
'--debug[Specify emitting additional debug information]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_zellij_commands" \
"*::: :->zellij" \
&& ret=0
    case $state in
    (zellij)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-command-$line[1]:"
        case $line[1] in
            (options)
_arguments "${_arguments_options[@]}" : \
'--simplified-ui=[Allow plugins to use a more simplified layout that is compatible with more fonts (true or false)]:SIMPLIFIED_UI:(true false)' \
'--theme=[Set the default theme]:THEME:_default' \
'--theme-dark=[Theme name to apply when the host terminal reports a dark color palette (CSI 2031 / DSR 997). Requires \`theme_light\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_DARK:_default' \
'--theme-light=[Theme name to apply when the host terminal reports a light color palette (CSI 2031 / DSR 997). Requires \`theme_dark\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_LIGHT:_default' \
'--default-mode=[Set the default mode]:DEFAULT_MODE:((normal\:"In \`Normal\` mode, input is always written to the terminal, except for the shortcuts leading to other modes"
locked\:"In \`Locked\` mode, input is always written to the terminal and all shortcuts are disabled except the one leading back to normal mode"
resize\:"\`Resize\` mode allows resizing the different existing panes"
pane\:"\`Pane\` mode allows creating and closing panes, as well as moving between them"
tab\:"\`Tab\` mode allows creating and closing tabs, as well as moving between them"
scroll\:"\`Scroll\` mode allows scrolling up and down within a pane"
enter-search\:"\`EnterSearch\` mode allows for typing in the needle for a search in the scroll buffer of a pane"
search\:"\`Search\` mode allows for searching a term in a pane (superset of \`Scroll\`)"
rename-tab\:"\`RenameTab\` mode allows assigning a new name to a tab"
rename-pane\:"\`RenamePane\` mode allows assigning a new name to a pane"
session\:"\`Session\` mode allows detaching sessions"
move\:"\`Move\` mode allows moving the different existing panes within a tab"
prompt\:"\`Prompt\` mode allows interacting with active prompts"
tmux\:"\`Tmux\` mode allows for basic tmux keybindings functionality"))' \
'--default-shell=[Set the default shell]:DEFAULT_SHELL:_files' \
'--default-cwd=[Set the default cwd]:DEFAULT_CWD:_files' \
'--default-layout=[Set the default layout]:DEFAULT_LAYOUT:_files' \
'--layout-dir=[Set the layout_dir, defaults to subdirectory of config dir]:LAYOUT_DIR:_files' \
'--theme-dir=[Set the theme_dir, defaults to subdirectory of config dir]:THEME_DIR:_files' \
'--mouse-mode=[Set the handling of mouse events (true or false) Can be temporarily bypassed by the \[SHIFT\] key]:MOUSE_MODE:(true false)' \
'--pane-frames=[Set display of the pane frames (true or false)]:PANE_FRAMES:(true false)' \
'--pane-frame-style=[]:PANE_FRAME_STYLE:(full titles none)' \
'--mirror-session=[Mirror session when multiple users are connected (true or false)]:MIRROR_SESSION:(true false)' \
'--on-force-close=[Set behaviour on force close (quit or detach)]:ON_FORCE_CLOSE:(quit detach)' \
'--scroll-buffer-size=[]:SCROLL_BUFFER_SIZE:_default' \
'--copy-command=[Switch to using a user supplied command for clipboard instead of OSC52]:COPY_COMMAND:_default' \
'(--copy-command)--copy-clipboard=[OSC52 destination clipboard]:COPY_CLIPBOARD:(system primary)' \
'--copy-on-select=[Automatically copy when selecting text (true or false)]:COPY_ON_SELECT:(true false)' \
'--osc8-hyperlinks=[Enable OSC8 hyperlink output (true or false)]:OSC8_HYPERLINKS:(true false)' \
'--scrollback-editor=[Explicit full path to open the scrollback editor (default is \$EDITOR or \$VISUAL)]:SCROLLBACK_EDITOR:_files' \
'--session-name=[The name of the session to create when starting Zellij]:SESSION_NAME:_default' \
'--attach-to-session=[Whether to attach to a session specified in "session-name" if it exists]:ATTACH_TO_SESSION:(true false)' \
'--auto-layout=[Whether to lay out panes in a predefined set of layouts whenever possible]:AUTO_LAYOUT:(true false)' \
'--session-serialization=[Whether sessions should be serialized to the HD so that they can be later resurrected, default is true]:SESSION_SERIALIZATION:(true false)' \
'--serialize-pane-viewport=[Whether pane viewports are serialized along with the session, default is false]:SERIALIZE_PANE_VIEWPORT:(true false)' \
'--scrollback-lines-to-serialize=[Scrollback lines to serialize along with the pane viewport when serializing sessions, 0 defaults to the scrollback size. If this number is higher than the scrollback size, it will also default to the scrollback size]:SCROLLBACK_LINES_TO_SERIALIZE:_default' \
'--styled-underlines=[Whether to use ANSI styled underlines]:STYLED_UNDERLINES:(true false)' \
'--serialization-interval=[The interval at which to serialize sessions for resurrection (in seconds)]:SERIALIZATION_INTERVAL:_default' \
'--disable-session-metadata=[If true, will disable writing session metadata to disk]:DISABLE_SESSION_METADATA:(true false)' \
'--support-kitty-keyboard-protocol=[Whether to enable support for the Kitty keyboard protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_KEYBOARD_PROTOCOL:(true false)' \
'--support-kitty-graphics-protocol=[Whether to enable support for the Kitty graphics (image) protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_GRAPHICS_PROTOCOL:(true false)' \
'--web-server=[Whether to make sure a local web server is running when a new Zellij session starts. This web server will allow creating new sessions and attaching to existing ones that have opted in to being shared in the browser]:WEB_SERVER:(true false)' \
'--web-sharing=[Whether to allow new sessions to be shared through a local web server, assuming one is running (see the \`web_server\` option for more details)]:WEB_SHARING:(on off disabled)' \
'--stacked-resize=[Whether to stack panes when resizing beyond a certain size default is true]:STACKED_RESIZE:(true false)' \
'--stacked-pane-list=[]:STACKED_PANE_LIST:(true false)' \
'--show-startup-tips=[Whether to show startup tips when starting a new session default is true]:SHOW_STARTUP_TIPS:(true false)' \
'--show-release-notes=[Whether to show release notes on first run of a new version default is true]:SHOW_RELEASE_NOTES:(true false)' \
'--advanced-mouse-actions=[Whether to enable mouse hover effects and pane grouping functionality default is true]:ADVANCED_MOUSE_ACTIONS:(true false)' \
'--mouse-scroll-resize=[Whether Ctrl+ScrollWheel resizes panes default is true]:MOUSE_SCROLL_RESIZE:(true false)' \
'--mouse-hover-effects=[Whether to enable mouse hover visual effects (frame highlight and help text) default is true]:MOUSE_HOVER_EFFECTS:(true false)' \
'--mouse-hover-tips=[Whether to show mouse hover help-text tips (resize help and group shortcuts) default is true]:MOUSE_HOVER_TIPS:(true false)' \
'--visual-bell=[Whether to show visual bell indicators (pane/tab frame flash and \[!\] suffix) default is true]:VISUAL_BELL:(true false)' \
'--focus-follows-mouse=[Whether to focus panes on mouse hover (true or false) default is false]:FOCUS_FOLLOWS_MOUSE:(true false)' \
'--mouse-click-through=[Whether clicking a pane to focus it also sends the click into the pane (true or false) default is false]:MOUSE_CLICK_THROUGH:(true false)' \
'--osc133-command-selection=[Whether triple-clicking inside shell-marked (OSC 133) command output selects the command and its output rather than the logical line default is true]:OSC133_COMMAND_SELECTION:(true false)' \
'--word-separators=[Characters that terminate a word when double-clicking to select it, in addition to whitespace (which is always a separator) default is "\[\]{}<>()"]:WORD_SEPARATORS:_default' \
'--host-notification-protocol=[]:HOST_NOTIFICATION_PROTOCOL:(auto osc9 osc99 bell off)' \
'--post-command-discovery-hook=[A command to run after the discovery of running commands when serializing, for the purpose of manipulating the command (eg. with a regex) before it gets serialized]:POST_COMMAND_DISCOVERY_HOOK:_default' \
'--client-async-worker-tasks=[Number of async worker tasks to spawn per active client]:CLIENT_ASYNC_WORKER_TASKS:_default' \
'--nested-session-handling=[How to handle a nested Zellij session detected inside a pane (ask, fullscreen, descend, never)]:NESTED_SESSION_HANDLING:(ask fullscreen descend never)' \
'--dangerously-enable-paste-buffer-read=[]:DANGEROUSLY_ENABLE_PASTE_BUFFER_READ:(true false)' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::web_server_ip:_default' \
'::web_server_port:_default' \
'::web_server_cert:_files' \
'::web_server_key:_files' \
'::enforce_https_for_localhost:(true false)' \
&& ret=0
;;
(setup)
_arguments "${_arguments_options[@]}" : \
'--dump-layout=[Dump specified layout to stdout]:DUMP_LAYOUT:_default' \
'--dump-swap-layout=[Dump the specified swap layout file to stdout]:DUMP_SWAP_LAYOUT:_default' \
'--dump-plugins=[Dump the builtin plugins to DIR or "DATA DIR" if unspecified]::DIR:_files' \
'--generate-completion=[Generates completion for the specified shell]:SHELL:_default' \
'--generate-auto-start=[Generates auto-start script for the specified shell]:SHELL:_default' \
'--dump-config[Dump the default configuration file to stdout]' \
'--clean[Disables loading of configuration file at default location, loads the defaults that zellij ships with]' \
'--check[Checks the configuration of zellij and displays currently used directories]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(web)
_arguments "${_arguments_options[@]}" : \
'--timeout=[Timeout in seconds for the status check (default\: 30)]:TIMEOUT:_default' \
'--server-startup-timeout=[Timeout in seconds waiting for the server to start (default\: 10). Only used on Windows where the daemonized server is polled via TCP. On Unix, startup signaling uses pipes and this option is ignored]:SERVER_STARTUP_TIMEOUT:_default' \
'--token-name=[Optional name for the token]:TOKEN_NAME:_default' \
'--revoke-token=[Revoke a login token by its name]:TOKEN NAME:_default' \
'(--stop --create-token --revoke-token --revoke-all-tokens)--ip=[The ip address to listen on locally for connections (defaults to 127.0.0.1)]:IP:_default' \
'(--stop --create-token --revoke-token --revoke-all-tokens)--port=[The port to listen on locally for connections (defaults to 8082)]:PORT:_default' \
'(--stop --status --create-token --revoke-token --revoke-all-tokens)--cert=[The path to the SSL certificate (required if not listening on 127.0.0.1)]:CERT:_files' \
'(--stop --status --create-token --revoke-token --revoke-all-tokens)--key=[The path to the SSL key (required if not listening on 127.0.0.1)]:KEY:_files' \
'--start[Start the server (default unless other arguments are specified)]' \
'--stop[Stop the server]' \
'(--start)--status[Get the server status]' \
'(--stop --status --create-token --revoke-token --revoke-all-tokens)-d[Run the server in the background]' \
'(--stop --status --create-token --revoke-token --revoke-all-tokens)--daemonize[Run the server in the background]' \
'--create-token[Create a login token for the web interface, will only be displayed once and cannot later be retrieved. Returns the token name and the token]' \
'--create-read-only-token[Create a read-only login token (can only attach to existing sessions as watcher)]' \
'--revoke-all-tokens[Revoke all login tokens]' \
'--list-tokens[List token names and their creation dates (cannot show actual tokens)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(action)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_zellij__subcmd__action_commands" \
"*::: :->action" \
&& ret=0

    case $state in
    (action)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-action-command-$line[1]:"
        case $line[1] in
            (write)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::bytes:_default' \
&& ret=0
;;
(write-chars)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':chars:_default' \
&& ret=0
;;
(paste)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':chars:_default' \
&& ret=0
;;
(send-keys)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::keys -- Keys to send as space-separated strings:_default' \
&& ret=0
;;
(resize)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':resize:_default' \
'::direction:_default' \
&& ret=0
;;
(focus-next-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(focus-previous-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(focus-pane-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':pane_id -- The pane_id of the pane, eg. terminal_1, plugin_2 or 3:_default' \
&& ret=0
;;
(focus-last-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(move-focus)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(move-focus-or-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(move-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::direction:_default' \
&& ret=0
;;
(move-pane-backwards)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dump-screen)
_arguments "${_arguments_options[@]}" : \
'--path=[File path to dump the pane content to. If omitted, prints to STDOUT]:PATH:_files' \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). If not specified, dumps the focused pane]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). If not specified, dumps the focused pane]:PANE_ID:_default' \
'-f[Dump the pane with full scrollback]' \
'--full[Dump the pane with full scrollback]' \
'-a[Preserve ANSI styling in the dump output]' \
'--ansi[Preserve ANSI styling in the dump output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dump-layout)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(save-session)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(edit-scrollback)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-a[Preserve ANSI styling in the scrollback dump]' \
'--ansi[Preserve ANSI styling in the scrollback dump]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-to-bottom)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-to-top)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(page-scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(page-scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(half-page-scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(half-page-scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-fullscreen)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-no-ui-fullscreen)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-pane-frames)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-pane-frame-style)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':style:(full titles none)' \
&& ret=0
;;
(toggle-active-sync-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(new-pane)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'(-d --direction)-p+[]:PLUGIN:_default' \
'(-d --direction)--plugin=[]:PLUGIN:_default' \
'--cwd=[Change the working directory of the new pane]:CWD:_files' \
'(--near-current-pane)--pane-id=[The pane to replace when opening in place, eg. terminal_1, plugin_2 or 3 (only effective with --in-place; defaults to the focused pane)]:PANE_ID:_default' \
'-n+[Name of the new pane]:NAME:_default' \
'--name=[Name of the new pane]:NAME:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-c[Close the pane immediately when its command exits]' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'-s[Start the command suspended, only running it after the you first press ENTER]' \
'--start-suspended[Start the command suspended, only running it after the you first press ENTER]' \
'--skip-plugin-cache[]' \
'(-f --floating -d --direction)--stacked[]' \
'-b[Block until the command has finished and its pane has been closed]' \
'--blocking[Block until the command has finished and its pane has been closed]' \
'(-b --blocking --block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(-b --blocking --block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(-b --blocking --block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
'*::command:_default' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'-l+[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--line-number=[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--cwd=[Change the working directory of the editor]:CWD:_files' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_files' \
&& ret=0
;;
(switch-mode)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':input_mode:((normal\:"In \`Normal\` mode, input is always written to the terminal, except for the shortcuts leading to other modes"
locked\:"In \`Locked\` mode, input is always written to the terminal and all shortcuts are disabled except the one leading back to normal mode"
resize\:"\`Resize\` mode allows resizing the different existing panes"
pane\:"\`Pane\` mode allows creating and closing panes, as well as moving between them"
tab\:"\`Tab\` mode allows creating and closing tabs, as well as moving between them"
scroll\:"\`Scroll\` mode allows scrolling up and down within a pane"
enter-search\:"\`EnterSearch\` mode allows for typing in the needle for a search in the scroll buffer of a pane"
search\:"\`Search\` mode allows for searching a term in a pane (superset of \`Scroll\`)"
rename-tab\:"\`RenameTab\` mode allows assigning a new name to a tab"
rename-pane\:"\`RenamePane\` mode allows assigning a new name to a pane"
session\:"\`Session\` mode allows detaching sessions"
move\:"\`Move\` mode allows moving the different existing panes within a tab"
prompt\:"\`Prompt\` mode allows interacting with active prompts"
tmux\:"\`Tmux\` mode allows for basic tmux keybindings functionality"))' \
&& ret=0
;;
(toggle-pane-embed-or-floating)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(show-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(hide-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(are-floating-panes-visible)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(close-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rename-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(undo-rename-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-next-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-previous-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(close-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':index:_default' \
&& ret=0
;;
(go-to-tab-name)
_arguments "${_arguments_options[@]}" : \
'-c[Create a tab if one does not exist]' \
'--create[Create a tab if one does not exist]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name:_default' \
&& ret=0
;;
(rename-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(undo-rename-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(close-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(rename-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
':name:_default' \
&& ret=0
;;
(new-tab)
_arguments "${_arguments_options[@]}" : \
'(--layout-string)-l+[Layout to use for the new tab]:LAYOUT:_files' \
'(--layout-string)--layout=[Layout to use for the new tab]:LAYOUT:_files' \
'(-l --layout)--layout-string=[Raw KDL layout string to use directly (instead of a layout file path)]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'-n+[Name of the new tab]:NAME:_default' \
'--name=[Name of the new tab]:NAME:_default' \
'-c+[Change the working directory of the new tab]:CWD:_files' \
'--cwd=[Change the working directory of the new tab]:CWD:_files' \
'()--initial-plugin=[Initial plugin to load in the new tab]:INITIAL_PLUGIN:_default' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'--start-suspended[Start the command suspended, only running it after you first press ENTER]' \
'(--block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(--block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(--block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--no-focus[if set, will create the tab without changing the focus of any client]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::initial_command -- Optional initial command to run in the new tab:_default' \
&& ret=0
;;
(move-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(previous-swap-layout)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(next-swap-layout)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(override-layout)
_arguments "${_arguments_options[@]}" : \
'()--layout-string=[Raw KDL layout string to use directly (instead of a layout file path)]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'--retain-existing-terminal-panes[Retain existing terminal panes that do not fit in the layout (default\: false)]' \
'--retain-existing-plugin-panes[Retain existing plugin panes that do not fit with the layout default\: false)]' \
'--apply-only-to-active-tab[Only apply the layout to the active tab (uses just the first layout tab if it has multiple)]' \
'-h[Print help]' \
'--help[Print help]' \
'::layout -- Path to the layout file:_files' \
&& ret=0
;;
(query-tab-names)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(start-or-reload-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(launch-or-focus-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[]' \
'--floating[]' \
'-i[]' \
'--in-place[]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-m[]' \
'--move-to-focused-tab[]' \
'-s[]' \
'--skip-plugin-cache[]' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(launch-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[]' \
'--floating[]' \
'-i[]' \
'--in-place[]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-s[]' \
'--skip-plugin-cache[]' \
'--no-focus[if set, will open the plugin pane without changing the focus of any client]' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(rename-session)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
'-n+[The name of the pipe]:NAME:_default' \
'--name=[The name of the pipe]:NAME:_default' \
'-a+[The args of the pipe]:ARGS:_default' \
'--args=[The args of the pipe]:ARGS:_default' \
'-p+[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'--plugin=[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'-c+[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'--plugin-configuration=[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'-f+[If launching a plugin, should it be floating or not, defaults to floating]:FLOATING_PLUGIN:(true false)' \
'--floating-plugin=[If launching a plugin, should it be floating or not, defaults to floating]:FLOATING_PLUGIN:(true false)' \
'(-f --floating-plugin)-i+[If launching a plugin, launch it in-place (on top of the current pane)]:IN_PLACE_PLUGIN:(true false)' \
'(-f --floating-plugin)--in-place-plugin=[If launching a plugin, launch it in-place (on top of the current pane)]:IN_PLACE_PLUGIN:(true false)' \
'-w+[If launching a plugin, specify its working directory]:PLUGIN_CWD:_files' \
'--plugin-cwd=[If launching a plugin, specify its working directory]:PLUGIN_CWD:_files' \
'-t+[If launching a plugin, specify its pane title]:PLUGIN_TITLE:_default' \
'--plugin-title=[If launching a plugin, specify its pane title]:PLUGIN_TITLE:_default' \
'-l[Launch a new plugin even if one is already running]' \
'--force-launch-plugin[Launch a new plugin even if one is already running]' \
'-s[If launching a new plugin, skip cache and force-compile the plugin]' \
'--skip-plugin-cache[If launching a new plugin, skip cache and force-compile the plugin]' \
'-h[Print help]' \
'--help[Print help]' \
'::payload -- The data to send down this pipe (if blank, will listen to STDIN):_default' \
&& ret=0
;;
(list-clients)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list-panes)
_arguments "${_arguments_options[@]}" : \
'-t[Include tab information (name, position, ID)]' \
'--tab[Include tab information (name, position, ID)]' \
'-c[Include running command information]' \
'--command[Include running command information]' \
'-s[Include pane state (focused, floating, exited, etc.)]' \
'--state[Include pane state (focused, floating, exited, etc.)]' \
'-g[Include geometry (position, size)]' \
'--geometry[Include geometry (position, size)]' \
'-a[Include all available fields]' \
'--all[Include all available fields]' \
'-j[Output as JSON]' \
'--json[Output as JSON]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(list-tabs)
_arguments "${_arguments_options[@]}" : \
'-s[Include state information (active, fullscreen, sync, floating visibility)]' \
'--state[Include state information (active, fullscreen, sync, floating visibility)]' \
'-d[Include dimension information (viewport, display area)]' \
'--dimensions[Include dimension information (viewport, display area)]' \
'-p[Include pane counts]' \
'--panes[Include pane counts]' \
'-l[Include layout information (swap layout name and dirty state)]' \
'--layout[Include layout information (swap layout name and dirty state)]' \
'-a[Include all available fields]' \
'--all[Include all available fields]' \
'-j[Output as JSON]' \
'--json[Output as JSON]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(current-tab-info)
_arguments "${_arguments_options[@]}" : \
'-j[Output as JSON with full TabInfo]' \
'--json[Output as JSON with full TabInfo]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(toggle-pane-pinned)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stack-panes)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::pane_ids:_default' \
&& ret=0
;;
(change-floating-pane-coordinates)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the floating pane, eg.  terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the floating pane, eg.  terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[change this pane to be with/without a border (warning\: will make it impossible to move with the mouse if without a border)]:BORDERLESS:(true false)' \
'--borderless=[change this pane to be with/without a border (warning\: will make it impossible to move with the mouse if without a border)]:BORDERLESS:(true false)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-pane-borderless)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-pane-borderless)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-b[Whether the pane should be borderless (flag present) or bordered (flag absent)]' \
'--borderless[Whether the pane should be borderless (flag present) or bordered (flag absent)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(detach)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-dark-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-light-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(switch-session)
_arguments "${_arguments_options[@]}" : \
'--tab-position=[Optional tab position to focus]:TAB_POSITION:_default' \
'--pane-id=[Optional pane ID to focus (eg. "terminal_1" for terminal pane with id 1, or "plugin_2" for plugin pane with id 2)]:PANE_ID:_default' \
'(--layout-string)-l+[Layout to apply when switching to the session (relative paths start at layout-dir)]:LAYOUT:_files' \
'(--layout-string)--layout=[Layout to apply when switching to the session (relative paths start at layout-dir)]:LAYOUT:_files' \
'(-l --layout)--layout-string=[Raw KDL layout string to use directly]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'-c+[Change the working directory when switching]:CWD:_files' \
'--cwd=[Change the working directory when switching]:CWD:_files' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of the session to switch to:_default' \
&& ret=0
;;
(set-pane-color)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). Defaults to \$ZELLIJ_PANE_ID if not provided]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). Defaults to \$ZELLIJ_PANE_ID if not provided]:PANE_ID:_default' \
'--fg=[Foreground color (e.g. "#00e000", "rgb\:00/e0/00")]:FG:_default' \
'--bg=[Background color (e.g. "#001a3a", "rgb\:00/1a/3a")]:BG:_default' \
'(--fg --bg)--reset[Reset pane colors to terminal defaults]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__action__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-action-help-command-$line[1]:"
        case $line[1] in
            (write)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(write-chars)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(paste)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send-keys)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(resize)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-next-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-previous-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-pane-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-last-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus-or-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane-backwards)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-screen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(save-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit-scrollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-bottom)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-top)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-no-ui-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-frames)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-frame-style)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-active-sync-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-embed-or-floating)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(are-floating-panes-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-next-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-previous-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(previous-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(next-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(override-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(query-tab-names)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(start-or-reload-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-or-focus-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-clients)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-tabs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(current-tab-info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-pinned)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stack-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(change-floating-pane-coordinates)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(detach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-dark-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-light-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-color)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(ac)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_zellij__subcmd__action_commands" \
"*::: :->action" \
&& ret=0

    case $state in
    (action)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-action-command-$line[1]:"
        case $line[1] in
            (write)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::bytes:_default' \
&& ret=0
;;
(write-chars)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':chars:_default' \
&& ret=0
;;
(paste)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':chars:_default' \
&& ret=0
;;
(send-keys)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::keys -- Keys to send as space-separated strings:_default' \
&& ret=0
;;
(resize)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':resize:_default' \
'::direction:_default' \
&& ret=0
;;
(focus-next-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(focus-previous-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(focus-pane-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':pane_id -- The pane_id of the pane, eg. terminal_1, plugin_2 or 3:_default' \
&& ret=0
;;
(focus-last-pane)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(move-focus)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(move-focus-or-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(move-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::direction:_default' \
&& ret=0
;;
(move-pane-backwards)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dump-screen)
_arguments "${_arguments_options[@]}" : \
'--path=[File path to dump the pane content to. If omitted, prints to STDOUT]:PATH:_files' \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). If not specified, dumps the focused pane]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). If not specified, dumps the focused pane]:PANE_ID:_default' \
'-f[Dump the pane with full scrollback]' \
'--full[Dump the pane with full scrollback]' \
'-a[Preserve ANSI styling in the dump output]' \
'--ansi[Preserve ANSI styling in the dump output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dump-layout)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(save-session)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(edit-scrollback)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-a[Preserve ANSI styling in the scrollback dump]' \
'--ansi[Preserve ANSI styling in the scrollback dump]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-to-bottom)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(scroll-to-top)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(page-scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(page-scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(half-page-scroll-up)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(half-page-scroll-down)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-fullscreen)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-no-ui-fullscreen)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-pane-frames)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-pane-frame-style)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':style:(full titles none)' \
&& ret=0
;;
(toggle-active-sync-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(new-pane)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'(-d --direction)-p+[]:PLUGIN:_default' \
'(-d --direction)--plugin=[]:PLUGIN:_default' \
'--cwd=[Change the working directory of the new pane]:CWD:_files' \
'(--near-current-pane)--pane-id=[The pane to replace when opening in place, eg. terminal_1, plugin_2 or 3 (only effective with --in-place; defaults to the focused pane)]:PANE_ID:_default' \
'-n+[Name of the new pane]:NAME:_default' \
'--name=[Name of the new pane]:NAME:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-c[Close the pane immediately when its command exits]' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'-s[Start the command suspended, only running it after the you first press ENTER]' \
'--start-suspended[Start the command suspended, only running it after the you first press ENTER]' \
'--skip-plugin-cache[]' \
'(-f --floating -d --direction)--stacked[]' \
'-b[Block until the command has finished and its pane has been closed]' \
'--blocking[Block until the command has finished and its pane has been closed]' \
'(-b --blocking --block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(-b --blocking --block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(-b --blocking --block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
'*::command:_default' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'-l+[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--line-number=[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--cwd=[Change the working directory of the editor]:CWD:_files' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_files' \
&& ret=0
;;
(switch-mode)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':input_mode:((normal\:"In \`Normal\` mode, input is always written to the terminal, except for the shortcuts leading to other modes"
locked\:"In \`Locked\` mode, input is always written to the terminal and all shortcuts are disabled except the one leading back to normal mode"
resize\:"\`Resize\` mode allows resizing the different existing panes"
pane\:"\`Pane\` mode allows creating and closing panes, as well as moving between them"
tab\:"\`Tab\` mode allows creating and closing tabs, as well as moving between them"
scroll\:"\`Scroll\` mode allows scrolling up and down within a pane"
enter-search\:"\`EnterSearch\` mode allows for typing in the needle for a search in the scroll buffer of a pane"
search\:"\`Search\` mode allows for searching a term in a pane (superset of \`Scroll\`)"
rename-tab\:"\`RenameTab\` mode allows assigning a new name to a tab"
rename-pane\:"\`RenamePane\` mode allows assigning a new name to a pane"
session\:"\`Session\` mode allows detaching sessions"
move\:"\`Move\` mode allows moving the different existing panes within a tab"
prompt\:"\`Prompt\` mode allows interacting with active prompts"
tmux\:"\`Tmux\` mode allows for basic tmux keybindings functionality"))' \
&& ret=0
;;
(toggle-pane-embed-or-floating)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(show-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(hide-floating-panes)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(are-floating-panes-visible)
_arguments "${_arguments_options[@]}" : \
'-t+[]:TAB_ID:_default' \
'--tab-id=[]:TAB_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(close-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rename-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(undo-rename-pane)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-next-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-previous-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(close-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-tab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':index:_default' \
&& ret=0
;;
(go-to-tab-name)
_arguments "${_arguments_options[@]}" : \
'-c[Create a tab if one does not exist]' \
'--create[Create a tab if one does not exist]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name:_default' \
&& ret=0
;;
(rename-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(undo-rename-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(go-to-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(close-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
&& ret=0
;;
(rename-tab-by-id)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':id:_default' \
':name:_default' \
&& ret=0
;;
(new-tab)
_arguments "${_arguments_options[@]}" : \
'(--layout-string)-l+[Layout to use for the new tab]:LAYOUT:_files' \
'(--layout-string)--layout=[Layout to use for the new tab]:LAYOUT:_files' \
'(-l --layout)--layout-string=[Raw KDL layout string to use directly (instead of a layout file path)]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'-n+[Name of the new tab]:NAME:_default' \
'--name=[Name of the new tab]:NAME:_default' \
'-c+[Change the working directory of the new tab]:CWD:_files' \
'--cwd=[Change the working directory of the new tab]:CWD:_files' \
'()--initial-plugin=[Initial plugin to load in the new tab]:INITIAL_PLUGIN:_default' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'--start-suspended[Start the command suspended, only running it after you first press ENTER]' \
'(--block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(--block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(--block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--no-focus[if set, will create the tab without changing the focus of any client]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::initial_command -- Optional initial command to run in the new tab:_default' \
&& ret=0
;;
(move-tab)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':direction:_default' \
&& ret=0
;;
(previous-swap-layout)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(next-swap-layout)
_arguments "${_arguments_options[@]}" : \
'-t+[Target a specific tab by ID]:TAB_ID:_default' \
'--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(override-layout)
_arguments "${_arguments_options[@]}" : \
'()--layout-string=[Raw KDL layout string to use directly (instead of a layout file path)]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'--retain-existing-terminal-panes[Retain existing terminal panes that do not fit in the layout (default\: false)]' \
'--retain-existing-plugin-panes[Retain existing plugin panes that do not fit with the layout default\: false)]' \
'--apply-only-to-active-tab[Only apply the layout to the active tab (uses just the first layout tab if it has multiple)]' \
'-h[Print help]' \
'--help[Print help]' \
'::layout -- Path to the layout file:_files' \
&& ret=0
;;
(query-tab-names)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(start-or-reload-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(launch-or-focus-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[]' \
'--floating[]' \
'-i[]' \
'--in-place[]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-m[]' \
'--move-to-focused-tab[]' \
'-s[]' \
'--skip-plugin-cache[]' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(launch-plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[]:CONFIGURATION:_default' \
'--configuration=[]:CONFIGURATION:_default' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[]' \
'--floating[]' \
'-i[]' \
'--in-place[]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-s[]' \
'--skip-plugin-cache[]' \
'--no-focus[if set, will open the plugin pane without changing the focus of any client]' \
'-h[Print help]' \
'--help[Print help]' \
':url:_default' \
&& ret=0
;;
(rename-session)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name:_default' \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
'-n+[The name of the pipe]:NAME:_default' \
'--name=[The name of the pipe]:NAME:_default' \
'-a+[The args of the pipe]:ARGS:_default' \
'--args=[The args of the pipe]:ARGS:_default' \
'-p+[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'--plugin=[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'-c+[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'--plugin-configuration=[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'-f+[If launching a plugin, should it be floating or not, defaults to floating]:FLOATING_PLUGIN:(true false)' \
'--floating-plugin=[If launching a plugin, should it be floating or not, defaults to floating]:FLOATING_PLUGIN:(true false)' \
'(-f --floating-plugin)-i+[If launching a plugin, launch it in-place (on top of the current pane)]:IN_PLACE_PLUGIN:(true false)' \
'(-f --floating-plugin)--in-place-plugin=[If launching a plugin, launch it in-place (on top of the current pane)]:IN_PLACE_PLUGIN:(true false)' \
'-w+[If launching a plugin, specify its working directory]:PLUGIN_CWD:_files' \
'--plugin-cwd=[If launching a plugin, specify its working directory]:PLUGIN_CWD:_files' \
'-t+[If launching a plugin, specify its pane title]:PLUGIN_TITLE:_default' \
'--plugin-title=[If launching a plugin, specify its pane title]:PLUGIN_TITLE:_default' \
'-l[Launch a new plugin even if one is already running]' \
'--force-launch-plugin[Launch a new plugin even if one is already running]' \
'-s[If launching a new plugin, skip cache and force-compile the plugin]' \
'--skip-plugin-cache[If launching a new plugin, skip cache and force-compile the plugin]' \
'-h[Print help]' \
'--help[Print help]' \
'::payload -- The data to send down this pipe (if blank, will listen to STDIN):_default' \
&& ret=0
;;
(list-clients)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list-panes)
_arguments "${_arguments_options[@]}" : \
'-t[Include tab information (name, position, ID)]' \
'--tab[Include tab information (name, position, ID)]' \
'-c[Include running command information]' \
'--command[Include running command information]' \
'-s[Include pane state (focused, floating, exited, etc.)]' \
'--state[Include pane state (focused, floating, exited, etc.)]' \
'-g[Include geometry (position, size)]' \
'--geometry[Include geometry (position, size)]' \
'-a[Include all available fields]' \
'--all[Include all available fields]' \
'-j[Output as JSON]' \
'--json[Output as JSON]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(list-tabs)
_arguments "${_arguments_options[@]}" : \
'-s[Include state information (active, fullscreen, sync, floating visibility)]' \
'--state[Include state information (active, fullscreen, sync, floating visibility)]' \
'-d[Include dimension information (viewport, display area)]' \
'--dimensions[Include dimension information (viewport, display area)]' \
'-p[Include pane counts]' \
'--panes[Include pane counts]' \
'-l[Include layout information (swap layout name and dirty state)]' \
'--layout[Include layout information (swap layout name and dirty state)]' \
'-a[Include all available fields]' \
'--all[Include all available fields]' \
'-j[Output as JSON]' \
'--json[Output as JSON]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(current-tab-info)
_arguments "${_arguments_options[@]}" : \
'-j[Output as JSON with full TabInfo]' \
'--json[Output as JSON with full TabInfo]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(toggle-pane-pinned)
_arguments "${_arguments_options[@]}" : \
'-p+[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'--pane-id=[Target a specific pane by ID (eg. terminal_1, plugin_2, or 3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stack-panes)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::pane_ids:_default' \
&& ret=0
;;
(change-floating-pane-coordinates)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the floating pane, eg.  terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the floating pane, eg.  terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[change this pane to be with/without a border (warning\: will make it impossible to move with the mouse if without a border)]:BORDERLESS:(true false)' \
'--borderless=[change this pane to be with/without a border (warning\: will make it impossible to move with the mouse if without a border)]:BORDERLESS:(true false)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-pane-borderless)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-pane-borderless)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3)]:PANE_ID:_default' \
'-b[Whether the pane should be borderless (flag present) or bordered (flag absent)]' \
'--borderless[Whether the pane should be borderless (flag present) or bordered (flag absent)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(detach)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-dark-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-light-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(toggle-theme)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(switch-session)
_arguments "${_arguments_options[@]}" : \
'--tab-position=[Optional tab position to focus]:TAB_POSITION:_default' \
'--pane-id=[Optional pane ID to focus (eg. "terminal_1" for terminal pane with id 1, or "plugin_2" for plugin pane with id 2)]:PANE_ID:_default' \
'(--layout-string)-l+[Layout to apply when switching to the session (relative paths start at layout-dir)]:LAYOUT:_files' \
'(--layout-string)--layout=[Layout to apply when switching to the session (relative paths start at layout-dir)]:LAYOUT:_files' \
'(-l --layout)--layout-string=[Raw KDL layout string to use directly]:LAYOUT_STRING:_default' \
'--layout-dir=[Default folder to look for layouts]:LAYOUT_DIR:_files' \
'-c+[Change the working directory when switching]:CWD:_files' \
'--cwd=[Change the working directory when switching]:CWD:_files' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of the session to switch to:_default' \
&& ret=0
;;
(set-pane-color)
_arguments "${_arguments_options[@]}" : \
'-p+[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). Defaults to \$ZELLIJ_PANE_ID if not provided]:PANE_ID:_default' \
'--pane-id=[The pane_id of the pane, eg. terminal_1, plugin_2 or 3 (equivalent to terminal_3). Defaults to \$ZELLIJ_PANE_ID if not provided]:PANE_ID:_default' \
'--fg=[Foreground color (e.g. "#00e000", "rgb\:00/e0/00")]:FG:_default' \
'--bg=[Background color (e.g. "#001a3a", "rgb\:00/1a/3a")]:BG:_default' \
'(--fg --bg)--reset[Reset pane colors to terminal defaults]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__action__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-action-help-command-$line[1]:"
        case $line[1] in
            (write)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(write-chars)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(paste)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send-keys)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(resize)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-next-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-previous-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-pane-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-last-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus-or-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane-backwards)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-screen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(save-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit-scrollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-bottom)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-top)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-no-ui-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-frames)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-frame-style)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-active-sync-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-embed-or-floating)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(are-floating-panes-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-next-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-previous-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(previous-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(next-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(override-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(query-tab-names)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(start-or-reload-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-or-focus-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-clients)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-tabs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(current-tab-info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-pinned)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stack-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(change-floating-pane-coordinates)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(detach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-dark-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-light-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-color)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(list-sessions)
_arguments "${_arguments_options[@]}" : \
'-n[Do not add colors and formatting to the list (useful for parsing)]' \
'--no-formatting[Do not add colors and formatting to the list (useful for parsing)]' \
'-s[Print just the session name]' \
'--short[Print just the session name]' \
'-r[List the sessions in reverse order (default is ascending order)]' \
'--reverse[List the sessions in reverse order (default is ascending order)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'-n[Do not add colors and formatting to the list (useful for parsing)]' \
'--no-formatting[Do not add colors and formatting to the list (useful for parsing)]' \
'-s[Print just the session name]' \
'--short[Print just the session name]' \
'-r[List the sessions in reverse order (default is ascending order)]' \
'--reverse[List the sessions in reverse order (default is ascending order)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list-aliases)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(la)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(attach)
_arguments "${_arguments_options[@]}" : \
'--index=[Number of the session index in the active sessions ordered creation date]:INDEX:_default' \
'-t+[Authentication token for remote sessions]:TOKEN:_default' \
'--token=[Authentication token for remote sessions]:TOKEN:_default' \
'--ca-cert=[Path to a custom CA certificate (PEM format) for verifying the remote server]:FILE:_files' \
'-c[Create a session if one does not exist]' \
'--create[Create a session if one does not exist]' \
'-b[Create a detached session in the background if one does not exist]' \
'--create-background[Create a detached session in the background if one does not exist]' \
'-f[If resurrecting a dead session, immediately run all its commands on startup]' \
'--force-run-commands[If resurrecting a dead session, immediately run all its commands on startup]' \
'-r[Save session for automatic re-authentication (4 weeks)]' \
'--remember[Save session for automatic re-authentication (4 weeks)]' \
'--forget[Delete saved session before connecting]' \
'--insecure[Skip TLS certificate validation (DANGEROUS — development only)]' \
'-h[Print help]' \
'--help[Print help]' \
'::session_name -- Name of the session to attach to:_default' \
":: :_zellij__subcmd__attach_commands" \
"*::: :->attach" \
&& ret=0

    case $state in
    (attach)
        words=($line[2] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-attach-command-$line[2]:"
        case $line[2] in
            (options)
_arguments "${_arguments_options[@]}" : \
'--simplified-ui=[Allow plugins to use a more simplified layout that is compatible with more fonts (true or false)]:SIMPLIFIED_UI:(true false)' \
'--theme=[Set the default theme]:THEME:_default' \
'--theme-dark=[Theme name to apply when the host terminal reports a dark color palette (CSI 2031 / DSR 997). Requires \`theme_light\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_DARK:_default' \
'--theme-light=[Theme name to apply when the host terminal reports a light color palette (CSI 2031 / DSR 997). Requires \`theme_dark\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_LIGHT:_default' \
'--default-mode=[Set the default mode]:DEFAULT_MODE:((normal\:"In \`Normal\` mode, input is always written to the terminal, except for the shortcuts leading to other modes"
locked\:"In \`Locked\` mode, input is always written to the terminal and all shortcuts are disabled except the one leading back to normal mode"
resize\:"\`Resize\` mode allows resizing the different existing panes"
pane\:"\`Pane\` mode allows creating and closing panes, as well as moving between them"
tab\:"\`Tab\` mode allows creating and closing tabs, as well as moving between them"
scroll\:"\`Scroll\` mode allows scrolling up and down within a pane"
enter-search\:"\`EnterSearch\` mode allows for typing in the needle for a search in the scroll buffer of a pane"
search\:"\`Search\` mode allows for searching a term in a pane (superset of \`Scroll\`)"
rename-tab\:"\`RenameTab\` mode allows assigning a new name to a tab"
rename-pane\:"\`RenamePane\` mode allows assigning a new name to a pane"
session\:"\`Session\` mode allows detaching sessions"
move\:"\`Move\` mode allows moving the different existing panes within a tab"
prompt\:"\`Prompt\` mode allows interacting with active prompts"
tmux\:"\`Tmux\` mode allows for basic tmux keybindings functionality"))' \
'--default-shell=[Set the default shell]:DEFAULT_SHELL:_files' \
'--default-cwd=[Set the default cwd]:DEFAULT_CWD:_files' \
'--default-layout=[Set the default layout]:DEFAULT_LAYOUT:_files' \
'--layout-dir=[Set the layout_dir, defaults to subdirectory of config dir]:LAYOUT_DIR:_files' \
'--theme-dir=[Set the theme_dir, defaults to subdirectory of config dir]:THEME_DIR:_files' \
'--mouse-mode=[Set the handling of mouse events (true or false) Can be temporarily bypassed by the \[SHIFT\] key]:MOUSE_MODE:(true false)' \
'--pane-frames=[Set display of the pane frames (true or false)]:PANE_FRAMES:(true false)' \
'--pane-frame-style=[]:PANE_FRAME_STYLE:(full titles none)' \
'--mirror-session=[Mirror session when multiple users are connected (true or false)]:MIRROR_SESSION:(true false)' \
'--on-force-close=[Set behaviour on force close (quit or detach)]:ON_FORCE_CLOSE:(quit detach)' \
'--scroll-buffer-size=[]:SCROLL_BUFFER_SIZE:_default' \
'--copy-command=[Switch to using a user supplied command for clipboard instead of OSC52]:COPY_COMMAND:_default' \
'(--copy-command)--copy-clipboard=[OSC52 destination clipboard]:COPY_CLIPBOARD:(system primary)' \
'--copy-on-select=[Automatically copy when selecting text (true or false)]:COPY_ON_SELECT:(true false)' \
'--osc8-hyperlinks=[Enable OSC8 hyperlink output (true or false)]:OSC8_HYPERLINKS:(true false)' \
'--scrollback-editor=[Explicit full path to open the scrollback editor (default is \$EDITOR or \$VISUAL)]:SCROLLBACK_EDITOR:_files' \
'--session-name=[The name of the session to create when starting Zellij]:SESSION_NAME:_default' \
'--attach-to-session=[Whether to attach to a session specified in "session-name" if it exists]:ATTACH_TO_SESSION:(true false)' \
'--auto-layout=[Whether to lay out panes in a predefined set of layouts whenever possible]:AUTO_LAYOUT:(true false)' \
'--session-serialization=[Whether sessions should be serialized to the HD so that they can be later resurrected, default is true]:SESSION_SERIALIZATION:(true false)' \
'--serialize-pane-viewport=[Whether pane viewports are serialized along with the session, default is false]:SERIALIZE_PANE_VIEWPORT:(true false)' \
'--scrollback-lines-to-serialize=[Scrollback lines to serialize along with the pane viewport when serializing sessions, 0 defaults to the scrollback size. If this number is higher than the scrollback size, it will also default to the scrollback size]:SCROLLBACK_LINES_TO_SERIALIZE:_default' \
'--styled-underlines=[Whether to use ANSI styled underlines]:STYLED_UNDERLINES:(true false)' \
'--serialization-interval=[The interval at which to serialize sessions for resurrection (in seconds)]:SERIALIZATION_INTERVAL:_default' \
'--disable-session-metadata=[If true, will disable writing session metadata to disk]:DISABLE_SESSION_METADATA:(true false)' \
'--support-kitty-keyboard-protocol=[Whether to enable support for the Kitty keyboard protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_KEYBOARD_PROTOCOL:(true false)' \
'--support-kitty-graphics-protocol=[Whether to enable support for the Kitty graphics (image) protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_GRAPHICS_PROTOCOL:(true false)' \
'--web-server=[Whether to make sure a local web server is running when a new Zellij session starts. This web server will allow creating new sessions and attaching to existing ones that have opted in to being shared in the browser]:WEB_SERVER:(true false)' \
'--web-sharing=[Whether to allow new sessions to be shared through a local web server, assuming one is running (see the \`web_server\` option for more details)]:WEB_SHARING:(on off disabled)' \
'--stacked-resize=[Whether to stack panes when resizing beyond a certain size default is true]:STACKED_RESIZE:(true false)' \
'--stacked-pane-list=[]:STACKED_PANE_LIST:(true false)' \
'--show-startup-tips=[Whether to show startup tips when starting a new session default is true]:SHOW_STARTUP_TIPS:(true false)' \
'--show-release-notes=[Whether to show release notes on first run of a new version default is true]:SHOW_RELEASE_NOTES:(true false)' \
'--advanced-mouse-actions=[Whether to enable mouse hover effects and pane grouping functionality default is true]:ADVANCED_MOUSE_ACTIONS:(true false)' \
'--mouse-scroll-resize=[Whether Ctrl+ScrollWheel resizes panes default is true]:MOUSE_SCROLL_RESIZE:(true false)' \
'--mouse-hover-effects=[Whether to enable mouse hover visual effects (frame highlight and help text) default is true]:MOUSE_HOVER_EFFECTS:(true false)' \
'--mouse-hover-tips=[Whether to show mouse hover help-text tips (resize help and group shortcuts) default is true]:MOUSE_HOVER_TIPS:(true false)' \
'--visual-bell=[Whether to show visual bell indicators (pane/tab frame flash and \[!\] suffix) default is true]:VISUAL_BELL:(true false)' \
'--focus-follows-mouse=[Whether to focus panes on mouse hover (true or false) default is false]:FOCUS_FOLLOWS_MOUSE:(true false)' \
'--mouse-click-through=[Whether clicking a pane to focus it also sends the click into the pane (true or false) default is false]:MOUSE_CLICK_THROUGH:(true false)' \
'--osc133-command-selection=[Whether triple-clicking inside shell-marked (OSC 133) command output selects the command and its output rather than the logical line default is true]:OSC133_COMMAND_SELECTION:(true false)' \
'--word-separators=[Characters that terminate a word when double-clicking to select it, in addition to whitespace (which is always a separator) default is "\[\]{}<>()"]:WORD_SEPARATORS:_default' \
'--host-notification-protocol=[]:HOST_NOTIFICATION_PROTOCOL:(auto osc9 osc99 bell off)' \
'--post-command-discovery-hook=[A command to run after the discovery of running commands when serializing, for the purpose of manipulating the command (eg. with a regex) before it gets serialized]:POST_COMMAND_DISCOVERY_HOOK:_default' \
'--client-async-worker-tasks=[Number of async worker tasks to spawn per active client]:CLIENT_ASYNC_WORKER_TASKS:_default' \
'--nested-session-handling=[How to handle a nested Zellij session detected inside a pane (ask, fullscreen, descend, never)]:NESTED_SESSION_HANDLING:(ask fullscreen descend never)' \
'--dangerously-enable-paste-buffer-read=[]:DANGEROUSLY_ENABLE_PASTE_BUFFER_READ:(true false)' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::web_server_ip:_default' \
'::web_server_port:_default' \
'::web_server_cert:_files' \
'::web_server_key:_files' \
'::enforce_https_for_localhost:(true false)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__attach__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-attach-help-command-$line[1]:"
        case $line[1] in
            (options)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(a)
_arguments "${_arguments_options[@]}" : \
'--index=[Number of the session index in the active sessions ordered creation date]:INDEX:_default' \
'-t+[Authentication token for remote sessions]:TOKEN:_default' \
'--token=[Authentication token for remote sessions]:TOKEN:_default' \
'--ca-cert=[Path to a custom CA certificate (PEM format) for verifying the remote server]:FILE:_files' \
'-c[Create a session if one does not exist]' \
'--create[Create a session if one does not exist]' \
'-b[Create a detached session in the background if one does not exist]' \
'--create-background[Create a detached session in the background if one does not exist]' \
'-f[If resurrecting a dead session, immediately run all its commands on startup]' \
'--force-run-commands[If resurrecting a dead session, immediately run all its commands on startup]' \
'-r[Save session for automatic re-authentication (4 weeks)]' \
'--remember[Save session for automatic re-authentication (4 weeks)]' \
'--forget[Delete saved session before connecting]' \
'--insecure[Skip TLS certificate validation (DANGEROUS — development only)]' \
'-h[Print help]' \
'--help[Print help]' \
'::session_name -- Name of the session to attach to:_default' \
":: :_zellij__subcmd__attach_commands" \
"*::: :->attach" \
&& ret=0

    case $state in
    (attach)
        words=($line[2] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-attach-command-$line[2]:"
        case $line[2] in
            (options)
_arguments "${_arguments_options[@]}" : \
'--simplified-ui=[Allow plugins to use a more simplified layout that is compatible with more fonts (true or false)]:SIMPLIFIED_UI:(true false)' \
'--theme=[Set the default theme]:THEME:_default' \
'--theme-dark=[Theme name to apply when the host terminal reports a dark color palette (CSI 2031 / DSR 997). Requires \`theme_light\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_DARK:_default' \
'--theme-light=[Theme name to apply when the host terminal reports a light color palette (CSI 2031 / DSR 997). Requires \`theme_dark\` to also be set; if either is missing the static \`theme\` remains authoritative]:THEME_LIGHT:_default' \
'--default-mode=[Set the default mode]:DEFAULT_MODE:((normal\:"In \`Normal\` mode, input is always written to the terminal, except for the shortcuts leading to other modes"
locked\:"In \`Locked\` mode, input is always written to the terminal and all shortcuts are disabled except the one leading back to normal mode"
resize\:"\`Resize\` mode allows resizing the different existing panes"
pane\:"\`Pane\` mode allows creating and closing panes, as well as moving between them"
tab\:"\`Tab\` mode allows creating and closing tabs, as well as moving between them"
scroll\:"\`Scroll\` mode allows scrolling up and down within a pane"
enter-search\:"\`EnterSearch\` mode allows for typing in the needle for a search in the scroll buffer of a pane"
search\:"\`Search\` mode allows for searching a term in a pane (superset of \`Scroll\`)"
rename-tab\:"\`RenameTab\` mode allows assigning a new name to a tab"
rename-pane\:"\`RenamePane\` mode allows assigning a new name to a pane"
session\:"\`Session\` mode allows detaching sessions"
move\:"\`Move\` mode allows moving the different existing panes within a tab"
prompt\:"\`Prompt\` mode allows interacting with active prompts"
tmux\:"\`Tmux\` mode allows for basic tmux keybindings functionality"))' \
'--default-shell=[Set the default shell]:DEFAULT_SHELL:_files' \
'--default-cwd=[Set the default cwd]:DEFAULT_CWD:_files' \
'--default-layout=[Set the default layout]:DEFAULT_LAYOUT:_files' \
'--layout-dir=[Set the layout_dir, defaults to subdirectory of config dir]:LAYOUT_DIR:_files' \
'--theme-dir=[Set the theme_dir, defaults to subdirectory of config dir]:THEME_DIR:_files' \
'--mouse-mode=[Set the handling of mouse events (true or false) Can be temporarily bypassed by the \[SHIFT\] key]:MOUSE_MODE:(true false)' \
'--pane-frames=[Set display of the pane frames (true or false)]:PANE_FRAMES:(true false)' \
'--pane-frame-style=[]:PANE_FRAME_STYLE:(full titles none)' \
'--mirror-session=[Mirror session when multiple users are connected (true or false)]:MIRROR_SESSION:(true false)' \
'--on-force-close=[Set behaviour on force close (quit or detach)]:ON_FORCE_CLOSE:(quit detach)' \
'--scroll-buffer-size=[]:SCROLL_BUFFER_SIZE:_default' \
'--copy-command=[Switch to using a user supplied command for clipboard instead of OSC52]:COPY_COMMAND:_default' \
'(--copy-command)--copy-clipboard=[OSC52 destination clipboard]:COPY_CLIPBOARD:(system primary)' \
'--copy-on-select=[Automatically copy when selecting text (true or false)]:COPY_ON_SELECT:(true false)' \
'--osc8-hyperlinks=[Enable OSC8 hyperlink output (true or false)]:OSC8_HYPERLINKS:(true false)' \
'--scrollback-editor=[Explicit full path to open the scrollback editor (default is \$EDITOR or \$VISUAL)]:SCROLLBACK_EDITOR:_files' \
'--session-name=[The name of the session to create when starting Zellij]:SESSION_NAME:_default' \
'--attach-to-session=[Whether to attach to a session specified in "session-name" if it exists]:ATTACH_TO_SESSION:(true false)' \
'--auto-layout=[Whether to lay out panes in a predefined set of layouts whenever possible]:AUTO_LAYOUT:(true false)' \
'--session-serialization=[Whether sessions should be serialized to the HD so that they can be later resurrected, default is true]:SESSION_SERIALIZATION:(true false)' \
'--serialize-pane-viewport=[Whether pane viewports are serialized along with the session, default is false]:SERIALIZE_PANE_VIEWPORT:(true false)' \
'--scrollback-lines-to-serialize=[Scrollback lines to serialize along with the pane viewport when serializing sessions, 0 defaults to the scrollback size. If this number is higher than the scrollback size, it will also default to the scrollback size]:SCROLLBACK_LINES_TO_SERIALIZE:_default' \
'--styled-underlines=[Whether to use ANSI styled underlines]:STYLED_UNDERLINES:(true false)' \
'--serialization-interval=[The interval at which to serialize sessions for resurrection (in seconds)]:SERIALIZATION_INTERVAL:_default' \
'--disable-session-metadata=[If true, will disable writing session metadata to disk]:DISABLE_SESSION_METADATA:(true false)' \
'--support-kitty-keyboard-protocol=[Whether to enable support for the Kitty keyboard protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_KEYBOARD_PROTOCOL:(true false)' \
'--support-kitty-graphics-protocol=[Whether to enable support for the Kitty graphics (image) protocol (must also be supported by the host terminal), defaults to true if the terminal supports it]:SUPPORT_KITTY_GRAPHICS_PROTOCOL:(true false)' \
'--web-server=[Whether to make sure a local web server is running when a new Zellij session starts. This web server will allow creating new sessions and attaching to existing ones that have opted in to being shared in the browser]:WEB_SERVER:(true false)' \
'--web-sharing=[Whether to allow new sessions to be shared through a local web server, assuming one is running (see the \`web_server\` option for more details)]:WEB_SHARING:(on off disabled)' \
'--stacked-resize=[Whether to stack panes when resizing beyond a certain size default is true]:STACKED_RESIZE:(true false)' \
'--stacked-pane-list=[]:STACKED_PANE_LIST:(true false)' \
'--show-startup-tips=[Whether to show startup tips when starting a new session default is true]:SHOW_STARTUP_TIPS:(true false)' \
'--show-release-notes=[Whether to show release notes on first run of a new version default is true]:SHOW_RELEASE_NOTES:(true false)' \
'--advanced-mouse-actions=[Whether to enable mouse hover effects and pane grouping functionality default is true]:ADVANCED_MOUSE_ACTIONS:(true false)' \
'--mouse-scroll-resize=[Whether Ctrl+ScrollWheel resizes panes default is true]:MOUSE_SCROLL_RESIZE:(true false)' \
'--mouse-hover-effects=[Whether to enable mouse hover visual effects (frame highlight and help text) default is true]:MOUSE_HOVER_EFFECTS:(true false)' \
'--mouse-hover-tips=[Whether to show mouse hover help-text tips (resize help and group shortcuts) default is true]:MOUSE_HOVER_TIPS:(true false)' \
'--visual-bell=[Whether to show visual bell indicators (pane/tab frame flash and \[!\] suffix) default is true]:VISUAL_BELL:(true false)' \
'--focus-follows-mouse=[Whether to focus panes on mouse hover (true or false) default is false]:FOCUS_FOLLOWS_MOUSE:(true false)' \
'--mouse-click-through=[Whether clicking a pane to focus it also sends the click into the pane (true or false) default is false]:MOUSE_CLICK_THROUGH:(true false)' \
'--osc133-command-selection=[Whether triple-clicking inside shell-marked (OSC 133) command output selects the command and its output rather than the logical line default is true]:OSC133_COMMAND_SELECTION:(true false)' \
'--word-separators=[Characters that terminate a word when double-clicking to select it, in addition to whitespace (which is always a separator) default is "\[\]{}<>()"]:WORD_SEPARATORS:_default' \
'--host-notification-protocol=[]:HOST_NOTIFICATION_PROTOCOL:(auto osc9 osc99 bell off)' \
'--post-command-discovery-hook=[A command to run after the discovery of running commands when serializing, for the purpose of manipulating the command (eg. with a regex) before it gets serialized]:POST_COMMAND_DISCOVERY_HOOK:_default' \
'--client-async-worker-tasks=[Number of async worker tasks to spawn per active client]:CLIENT_ASYNC_WORKER_TASKS:_default' \
'--nested-session-handling=[How to handle a nested Zellij session detected inside a pane (ask, fullscreen, descend, never)]:NESTED_SESSION_HANDLING:(ask fullscreen descend never)' \
'--dangerously-enable-paste-buffer-read=[]:DANGEROUSLY_ENABLE_PASTE_BUFFER_READ:(true false)' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::web_server_ip:_default' \
'::web_server_port:_default' \
'::web_server_cert:_files' \
'::web_server_key:_files' \
'::enforce_https_for_localhost:(true false)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__attach__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-attach-help-command-$line[1]:"
        case $line[1] in
            (options)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(watch)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::session_name -- Name of the session to watch:_default' \
&& ret=0
;;
(w)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::session_name -- Name of the session to watch:_default' \
&& ret=0
;;
(kill-session)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::target_session -- Name of target session:_default' \
&& ret=0
;;
(k)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::target_session -- Name of target session:_default' \
&& ret=0
;;
(delete-session)
_arguments "${_arguments_options[@]}" : \
'-f[Kill the session if it'\''s running before deleting it]' \
'--force[Kill the session if it'\''s running before deleting it]' \
'-h[Print help]' \
'--help[Print help]' \
'::target_session -- Name of target session:_default' \
&& ret=0
;;
(d)
_arguments "${_arguments_options[@]}" : \
'-f[Kill the session if it'\''s running before deleting it]' \
'--force[Kill the session if it'\''s running before deleting it]' \
'-h[Print help]' \
'--help[Print help]' \
'::target_session -- Name of target session:_default' \
&& ret=0
;;
(kill-all-sessions)
_arguments "${_arguments_options[@]}" : \
'-y[Automatic yes to prompts]' \
'--yes[Automatic yes to prompts]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ka)
_arguments "${_arguments_options[@]}" : \
'-y[Automatic yes to prompts]' \
'--yes[Automatic yes to prompts]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete-all-sessions)
_arguments "${_arguments_options[@]}" : \
'-y[Automatic yes to prompts]' \
'--yes[Automatic yes to prompts]' \
'-f[Kill the sessions if they'\''re running before deleting them]' \
'--force[Kill the sessions if they'\''re running before deleting them]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(da)
_arguments "${_arguments_options[@]}" : \
'-y[Automatic yes to prompts]' \
'--yes[Automatic yes to prompts]' \
'-f[Kill the sessions if they'\''re running before deleting them]' \
'--force[Kill the sessions if they'\''re running before deleting them]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'--cwd=[Change the working directory of the new pane]:CWD:_files' \
'-n+[Name of the new pane]:NAME:_default' \
'--name=[Name of the new pane]:NAME:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-c[Close the pane immediately when its command exits]' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'-s[Start the command suspended, only running after you first presses ENTER]' \
'--start-suspended[Start the command suspended, only running after you first presses ENTER]' \
'(-f --floating -d --direction)--stacked[]' \
'--blocking[Block until the command has finished and its pane has been closed]' \
'(--blocking --block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(--blocking --block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(--blocking --block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
'*::command -- Command to run:_default' \
&& ret=0
;;
(r)
_arguments "${_arguments_options[@]}" : \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'--cwd=[Change the working directory of the new pane]:CWD:_files' \
'-n+[Name of the new pane]:NAME:_default' \
'--name=[Name of the new pane]:NAME:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-c[Close the pane immediately when its command exits]' \
'--close-on-exit[Close the pane immediately when its command exits]' \
'-s[Start the command suspended, only running after you first presses ENTER]' \
'--start-suspended[Start the command suspended, only running after you first presses ENTER]' \
'(-f --floating -d --direction)--stacked[]' \
'--blocking[Block until the command has finished and its pane has been closed]' \
'(--blocking --block-until-exit-failure --block-until-exit)--block-until-exit-success[Block until the command exits successfully (exit status 0) OR its pane has been closed]' \
'(--blocking --block-until-exit-success --block-until-exit)--block-until-exit-failure[Block until the command exits with failure (non-zero exit status) OR its pane has been closed]' \
'(--blocking --block-until-exit-success --block-until-exit-failure)--block-until-exit[Block until the command exits (regardless of exit status) OR its pane has been closed]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
'*::command -- Command to run:_default' \
&& ret=0
;;
(plugin)
_arguments "${_arguments_options[@]}" : \
'-c+[Plugin configuration]:CONFIGURATION:_default' \
'--configuration=[Plugin configuration]:CONFIGURATION:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-s[Skip the memory and HD cache and force recompile of the plugin (good for development)]' \
'--skip-plugin-cache[Skip the memory and HD cache and force recompile of the plugin (good for development)]' \
'--no-focus[if set, will open the plugin pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':url -- Plugin URL, can either start with http(s), file\: or zellij\::_default' \
&& ret=0
;;
(p)
_arguments "${_arguments_options[@]}" : \
'-c+[Plugin configuration]:CONFIGURATION:_default' \
'--configuration=[Plugin configuration]:CONFIGURATION:_default' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(-i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'(-f --floating)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-s[Skip the memory and HD cache and force recompile of the plugin (good for development)]' \
'--skip-plugin-cache[Skip the memory and HD cache and force recompile of the plugin (good for development)]' \
'--no-focus[if set, will open the plugin pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':url -- Plugin URL, can either start with http(s), file\: or zellij\::_default' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'-l+[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--line-number=[Open the file in the specified line number]:LINE_NUMBER:_default' \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'--cwd=[Change the working directory of the editor]:CWD:_files' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_files' \
&& ret=0
;;
(e)
_arguments "${_arguments_options[@]}" : \
'-l+[Open the file in the specified line number]:LINE_NUMBER:_default' \
'--line-number=[Open the file in the specified line number]:LINE_NUMBER:_default' \
'(-f --floating)-d+[Direction to open the new pane in]:DIRECTION:_default' \
'(-f --floating)--direction=[Direction to open the new pane in]:DIRECTION:_default' \
'--cwd=[Change the working directory of the editor]:CWD:_files' \
'-x+[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'--x=[The x coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:X:_default' \
'-y+[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--y=[The y coordinates if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:Y:_default' \
'--width=[The width if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:WIDTH:_default' \
'--height=[The height if the pane is floating as a bare integer (eg. 1) or percent (eg. 10%)]:HEIGHT:_default' \
'--pinned=[Whether to pin a floating pane so that it is always on top]:PINNED:(true false)' \
'-b+[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'--borderless=[start this pane without a border (warning\: will make it impossible to move with the mouse)]:BORDERLESS:(true false)' \
'(--near-current-pane -i --in-place)--tab-id=[Target a specific tab by ID]:TAB_ID:_default' \
'(-f --floating -d --direction)-i[Open the new pane in place of the current pane, temporarily suspending it]' \
'(-f --floating -d --direction)--in-place[Open the new pane in place of the current pane, temporarily suspending it]' \
'--close-replaced-pane[Close the replaced pane instead of suspending it (only effective with --in-place)]' \
'-f[Open the new pane in floating mode]' \
'--floating[Open the new pane in floating mode]' \
'--near-current-pane[if set, will open the pane near the current one rather than following the user'\''s focus]' \
'--no-focus[if set, will open the pane without changing the focus of any client, placing it relative to the pane the command was issued from]' \
'-h[Print help]' \
'--help[Print help]' \
':file:_files' \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
'-n+[The name of the pipe]:NAME:_default' \
'--name=[The name of the pipe]:NAME:_default' \
'-a+[The args of the pipe]:ARGS:_default' \
'--args=[The args of the pipe]:ARGS:_default' \
'-p+[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'--plugin=[The plugin url (eg. file\:/tmp/my-plugin.wasm) to direct this pipe to, if not specified, will be sent to all plugins, if specified and is not running, the plugin will be launched]:PLUGIN:_default' \
'-c+[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'--plugin-configuration=[The plugin configuration (note\: the same plugin with different configuration is considered a different plugin for the purposes of determining the pipe destination)]:PLUGIN_CONFIGURATION:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::payload -- The data to send down this pipe (if blank, will listen to STDIN):_default' \
&& ret=0
;;
(subscribe)
_arguments "${_arguments_options[@]}" : \
'*-p+[Pane ID(s) to subscribe to (e.g. terminal_1, plugin_2, or bare number like 1)]:PANE_ID:_default' \
'*--pane-id=[Pane ID(s) to subscribe to (e.g. terminal_1, plugin_2, or bare number like 1)]:PANE_ID:_default' \
'-s+[Include scrollback lines in initial delivery. Bare --scrollback = all scrollback, --scrollback N = last N lines]::SCROLLBACK:_default' \
'--scrollback=[Include scrollback lines in initial delivery. Bare --scrollback = all scrollback, --scrollback N = last N lines]::SCROLLBACK:_default' \
'-f+[Output format]:FORMAT:(raw json)' \
'--format=[Output format]:FORMAT:(raw json)' \
'--ansi[Preserve ANSI styling in the output]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-help-command-$line[1]:"
        case $line[1] in
            (options)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(setup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(web)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(action)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__help__subcmd__action_commands" \
"*::: :->action" \
&& ret=0

    case $state in
    (action)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-help-action-command-$line[1]:"
        case $line[1] in
            (write)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(write-chars)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(paste)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send-keys)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(resize)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-next-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-previous-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-pane-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(focus-last-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-focus-or-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane-backwards)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clear)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-screen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(save-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit-scrollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-bottom)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(scroll-to-top)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(half-page-scroll-down)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-no-ui-fullscreen)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-frames)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-frame-style)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-active-sync-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-embed-or-floating)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide-floating-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(are-floating-panes-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-pane)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-next-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-previous-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(undo-rename-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(go-to-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(close-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-tab-by-id)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(new-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-tab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(previous-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(next-swap-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(override-layout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(query-tab-names)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(start-or-reload-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-or-focus-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(launch-plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-clients)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-tabs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(current-tab-info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-pinned)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stack-panes)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(change-floating-pane-coordinates)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-borderless)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(detach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-dark-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-light-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-pane-color)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(list-sessions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-aliases)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(attach)
_arguments "${_arguments_options[@]}" : \
":: :_zellij__subcmd__help__subcmd__attach_commands" \
"*::: :->attach" \
&& ret=0

    case $state in
    (attach)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:zellij-help-attach-command-$line[1]:"
        case $line[1] in
            (options)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(watch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(kill-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete-session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(kill-all-sessions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete-all-sessions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(plugin)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pipe)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(subscribe)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_zellij_commands] )) ||
_zellij_commands() {
    local commands; commands=(
'options:Change the behaviour of zellij' \
'setup:Setup zellij and check its configuration' \
'web:Run a web server to serve terminal sessions' \
'action:Send actions to a specific session' \
'ac:Send actions to a specific session' \
'list-sessions:List active sessions' \
'ls:List active sessions' \
'list-aliases:List existing plugin aliases' \
'la:List existing plugin aliases' \
'attach:Attach to a session' \
'a:Attach to a session' \
'watch:Watch a session (read-only)' \
'w:Watch a session (read-only)' \
'kill-session:Kill a specific session' \
'k:Kill a specific session' \
'delete-session:Delete a specific session' \
'd:Delete a specific session' \
'kill-all-sessions:Kill all sessions' \
'ka:Kill all sessions' \
'delete-all-sessions:Delete all sessions' \
'da:Delete all sessions' \
'run:Run a command in a new pane Returns\: Created pane ID (format\: terminal_<id>)' \
'r:Run a command in a new pane Returns\: Created pane ID (format\: terminal_<id>)' \
'plugin:Load a plugin Returns\: Created pane ID (format\: plugin_<id>)' \
'p:Load a plugin Returns\: Created pane ID (format\: plugin_<id>)' \
'edit:Edit file with default \$EDITOR / \$VISUAL Returns\: Created pane ID (format\: terminal_<id>)' \
'e:Edit file with default \$EDITOR / \$VISUAL Returns\: Created pane ID (format\: terminal_<id>)' \
'pipe:Send data to one or more plugins, launch them if they are not running' \
'subscribe:Subscribe to pane render updates (viewport and scrollback)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action_commands] )) ||
_zellij__subcmd__action_commands() {
    local commands; commands=(
'write:Write bytes to the terminal' \
'write-chars:Write characters to the terminal' \
'paste:Paste text to the terminal (using bracketed paste mode)' \
'send-keys:Send one or more keys to the terminal (e.g., "Ctrl a", "F1", "Alt Shift b")' \
'resize:\[increase|decrease\] the focused panes area at the \[left|down|up|right\] border' \
'focus-next-pane:Change focus to the next pane' \
'focus-previous-pane:Change focus to the previous pane' \
'focus-pane-id:Focus a specific pane by its ID' \
'focus-last-pane:Change focus to the last focused frame' \
'move-focus:Move the focused pane in the specified direction. \[right|left|up|down\]' \
'move-focus-or-tab:Move focus to the pane or tab (if on screen edge) in the specified direction \[right|left|up|down\]' \
'move-pane:Change the location of the focused pane in the specified direction or rotate forwrads \[right|left|up|down\]' \
'move-pane-backwards:Rotate the location of the previous pane backwards' \
'clear:Clear all buffers for a focused pane' \
'dump-screen:Dumps the viewport and optionally scrollback of a pane to a file or STDOUT' \
'dump-layout:Dump current layout to stdout' \
'save-session:Save the current session state to disk immediately' \
'edit-scrollback:Open the pane scrollback in your default editor' \
'scroll-up:Scroll up in the focused pane' \
'scroll-down:Scroll down in focus pane' \
'scroll-to-bottom:Scroll down to bottom in focus pane' \
'scroll-to-top:Scroll up to top in focus pane' \
'page-scroll-up:Scroll up one page in focus pane' \
'page-scroll-down:Scroll down one page in focus pane' \
'half-page-scroll-up:Scroll up half page in focus pane' \
'half-page-scroll-down:Scroll down half page in focus pane' \
'toggle-fullscreen:Toggle between fullscreen focus pane and normal layout' \
'toggle-no-ui-fullscreen:Toggle between fullscreen over the entire display (including the UI bars) and normal layout' \
'toggle-pane-frames:Toggle frames around panes in the UI' \
'set-pane-frame-style:' \
'toggle-active-sync-tab:Toggle between sending text commands to all panes on the current tab and normal mode' \
'new-pane:Open a new pane in the specified direction \[right|down\] If no direction is specified, will try to use the biggest available space. Returns\: Created pane ID (format\: terminal_<id> or plugin_<id>)' \
'edit:Open the specified file in a new zellij pane with your default EDITOR Returns\: Created pane ID (format\: terminal_<id>)' \
'switch-mode:Switch input mode of all connected clients \[locked|pane|tab|resize|move|search|session\]' \
'toggle-pane-embed-or-floating:Embed focused pane if floating or float focused pane if embedded' \
'toggle-floating-panes:Toggle the visibility of all floating panes in the current Tab, open one if none exist' \
'show-floating-panes:Show all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'hide-floating-panes:Hide all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'are-floating-panes-visible:Check if floating panes are visible in the specified tab (or active tab)' \
'close-pane:Close the focused pane' \
'rename-pane:Renames the focused pane' \
'undo-rename-pane:Remove a previously set pane name' \
'go-to-next-tab:Go to the next tab' \
'go-to-previous-tab:Go to the previous tab' \
'close-tab:Close the current tab' \
'go-to-tab:Go to tab with index \[index\]' \
'go-to-tab-name:Go to tab with name \[name\]' \
'rename-tab:Renames the focused pane' \
'undo-rename-tab:Remove a previously set tab name' \
'go-to-tab-by-id:Go to tab with stable ID' \
'close-tab-by-id:Close tab with stable ID' \
'rename-tab-by-id:Rename tab by stable ID' \
'new-tab:Create a new tab, optionally with a specified tab layout and name' \
'move-tab:Move the focused tab in the specified direction. \[right|left\]' \
'previous-swap-layout:' \
'next-swap-layout:' \
'override-layout:Override the layout of the active tab' \
'query-tab-names:Query all tab names' \
'start-or-reload-plugin:' \
'launch-or-focus-plugin:Returns\: Plugin pane ID (format\: plugin_<id>) when creating or focusing plugin' \
'launch-plugin:Returns\: Plugin pane ID (format\: plugin_<id>)' \
'rename-session:' \
'pipe:Send data to one or more plugins, launch them if they are not running' \
'list-clients:' \
'list-panes:List all panes in the current session' \
'list-tabs:List all tabs with their information' \
'current-tab-info:Get information about the currently active tab' \
'toggle-pane-pinned:' \
'stack-panes:Stack pane ids Ids are a space separated list of pane ids. They should either be in the form of \`terminal_<int>\` (eg. terminal_1), \`plugin_<int>\` (eg. plugin_1) or bare integers in which case they'\''ll be considered terminals (eg. 1 is the equivalent of terminal_1)' \
'change-floating-pane-coordinates:' \
'toggle-pane-borderless:' \
'set-pane-borderless:' \
'detach:Detach from the current session' \
'set-dark-theme:Switch the theme to dark (uses configured \`theme_dark\`)' \
'set-light-theme:Switch the theme to light (uses configured \`theme_light\`)' \
'toggle-theme:Toggle between dark and light themes (used configured \`theme_dark\` and \`theme_light\`)' \
'switch-session:Switch to a different session' \
'set-pane-color:Set the default foreground/background color of a pane' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij action commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__are-floating-panes-visible_commands] )) ||
_zellij__subcmd__action__subcmd__are-floating-panes-visible_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action are-floating-panes-visible commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__change-floating-pane-coordinates_commands] )) ||
_zellij__subcmd__action__subcmd__change-floating-pane-coordinates_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action change-floating-pane-coordinates commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__clear_commands] )) ||
_zellij__subcmd__action__subcmd__clear_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action clear commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__close-pane_commands] )) ||
_zellij__subcmd__action__subcmd__close-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action close-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__close-tab_commands] )) ||
_zellij__subcmd__action__subcmd__close-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action close-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__close-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__close-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action close-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__current-tab-info_commands] )) ||
_zellij__subcmd__action__subcmd__current-tab-info_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action current-tab-info commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__detach_commands] )) ||
_zellij__subcmd__action__subcmd__detach_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action detach commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__dump-layout_commands] )) ||
_zellij__subcmd__action__subcmd__dump-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action dump-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__dump-screen_commands] )) ||
_zellij__subcmd__action__subcmd__dump-screen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action dump-screen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__edit_commands] )) ||
_zellij__subcmd__action__subcmd__edit_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action edit commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__edit-scrollback_commands] )) ||
_zellij__subcmd__action__subcmd__edit-scrollback_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action edit-scrollback commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__focus-last-pane_commands] )) ||
_zellij__subcmd__action__subcmd__focus-last-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action focus-last-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__focus-next-pane_commands] )) ||
_zellij__subcmd__action__subcmd__focus-next-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action focus-next-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__focus-pane-id_commands] )) ||
_zellij__subcmd__action__subcmd__focus-pane-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action focus-pane-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__focus-previous-pane_commands] )) ||
_zellij__subcmd__action__subcmd__focus-previous-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action focus-previous-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__go-to-next-tab_commands] )) ||
_zellij__subcmd__action__subcmd__go-to-next-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action go-to-next-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__go-to-previous-tab_commands] )) ||
_zellij__subcmd__action__subcmd__go-to-previous-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action go-to-previous-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__go-to-tab_commands] )) ||
_zellij__subcmd__action__subcmd__go-to-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action go-to-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__go-to-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__go-to-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action go-to-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__go-to-tab-name_commands] )) ||
_zellij__subcmd__action__subcmd__go-to-tab-name_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action go-to-tab-name commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__half-page-scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__half-page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action half-page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__half-page-scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__half-page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action half-page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help_commands] )) ||
_zellij__subcmd__action__subcmd__help_commands() {
    local commands; commands=(
'write:Write bytes to the terminal' \
'write-chars:Write characters to the terminal' \
'paste:Paste text to the terminal (using bracketed paste mode)' \
'send-keys:Send one or more keys to the terminal (e.g., "Ctrl a", "F1", "Alt Shift b")' \
'resize:\[increase|decrease\] the focused panes area at the \[left|down|up|right\] border' \
'focus-next-pane:Change focus to the next pane' \
'focus-previous-pane:Change focus to the previous pane' \
'focus-pane-id:Focus a specific pane by its ID' \
'focus-last-pane:Change focus to the last focused frame' \
'move-focus:Move the focused pane in the specified direction. \[right|left|up|down\]' \
'move-focus-or-tab:Move focus to the pane or tab (if on screen edge) in the specified direction \[right|left|up|down\]' \
'move-pane:Change the location of the focused pane in the specified direction or rotate forwrads \[right|left|up|down\]' \
'move-pane-backwards:Rotate the location of the previous pane backwards' \
'clear:Clear all buffers for a focused pane' \
'dump-screen:Dumps the viewport and optionally scrollback of a pane to a file or STDOUT' \
'dump-layout:Dump current layout to stdout' \
'save-session:Save the current session state to disk immediately' \
'edit-scrollback:Open the pane scrollback in your default editor' \
'scroll-up:Scroll up in the focused pane' \
'scroll-down:Scroll down in focus pane' \
'scroll-to-bottom:Scroll down to bottom in focus pane' \
'scroll-to-top:Scroll up to top in focus pane' \
'page-scroll-up:Scroll up one page in focus pane' \
'page-scroll-down:Scroll down one page in focus pane' \
'half-page-scroll-up:Scroll up half page in focus pane' \
'half-page-scroll-down:Scroll down half page in focus pane' \
'toggle-fullscreen:Toggle between fullscreen focus pane and normal layout' \
'toggle-no-ui-fullscreen:Toggle between fullscreen over the entire display (including the UI bars) and normal layout' \
'toggle-pane-frames:Toggle frames around panes in the UI' \
'set-pane-frame-style:' \
'toggle-active-sync-tab:Toggle between sending text commands to all panes on the current tab and normal mode' \
'new-pane:Open a new pane in the specified direction \[right|down\] If no direction is specified, will try to use the biggest available space. Returns\: Created pane ID (format\: terminal_<id> or plugin_<id>)' \
'edit:Open the specified file in a new zellij pane with your default EDITOR Returns\: Created pane ID (format\: terminal_<id>)' \
'switch-mode:Switch input mode of all connected clients \[locked|pane|tab|resize|move|search|session\]' \
'toggle-pane-embed-or-floating:Embed focused pane if floating or float focused pane if embedded' \
'toggle-floating-panes:Toggle the visibility of all floating panes in the current Tab, open one if none exist' \
'show-floating-panes:Show all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'hide-floating-panes:Hide all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'are-floating-panes-visible:Check if floating panes are visible in the specified tab (or active tab)' \
'close-pane:Close the focused pane' \
'rename-pane:Renames the focused pane' \
'undo-rename-pane:Remove a previously set pane name' \
'go-to-next-tab:Go to the next tab' \
'go-to-previous-tab:Go to the previous tab' \
'close-tab:Close the current tab' \
'go-to-tab:Go to tab with index \[index\]' \
'go-to-tab-name:Go to tab with name \[name\]' \
'rename-tab:Renames the focused pane' \
'undo-rename-tab:Remove a previously set tab name' \
'go-to-tab-by-id:Go to tab with stable ID' \
'close-tab-by-id:Close tab with stable ID' \
'rename-tab-by-id:Rename tab by stable ID' \
'new-tab:Create a new tab, optionally with a specified tab layout and name' \
'move-tab:Move the focused tab in the specified direction. \[right|left\]' \
'previous-swap-layout:' \
'next-swap-layout:' \
'override-layout:Override the layout of the active tab' \
'query-tab-names:Query all tab names' \
'start-or-reload-plugin:' \
'launch-or-focus-plugin:Returns\: Plugin pane ID (format\: plugin_<id>) when creating or focusing plugin' \
'launch-plugin:Returns\: Plugin pane ID (format\: plugin_<id>)' \
'rename-session:' \
'pipe:Send data to one or more plugins, launch them if they are not running' \
'list-clients:' \
'list-panes:List all panes in the current session' \
'list-tabs:List all tabs with their information' \
'current-tab-info:Get information about the currently active tab' \
'toggle-pane-pinned:' \
'stack-panes:Stack pane ids Ids are a space separated list of pane ids. They should either be in the form of \`terminal_<int>\` (eg. terminal_1), \`plugin_<int>\` (eg. plugin_1) or bare integers in which case they'\''ll be considered terminals (eg. 1 is the equivalent of terminal_1)' \
'change-floating-pane-coordinates:' \
'toggle-pane-borderless:' \
'set-pane-borderless:' \
'detach:Detach from the current session' \
'set-dark-theme:Switch the theme to dark (uses configured \`theme_dark\`)' \
'set-light-theme:Switch the theme to light (uses configured \`theme_light\`)' \
'toggle-theme:Toggle between dark and light themes (used configured \`theme_dark\` and \`theme_light\`)' \
'switch-session:Switch to a different session' \
'set-pane-color:Set the default foreground/background color of a pane' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij action help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__are-floating-panes-visible_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__are-floating-panes-visible_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help are-floating-panes-visible commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__change-floating-pane-coordinates_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__change-floating-pane-coordinates_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help change-floating-pane-coordinates commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__clear_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__clear_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help clear commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__close-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__close-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help close-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__close-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__close-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help close-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__close-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__close-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help close-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__current-tab-info_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__current-tab-info_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help current-tab-info commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__detach_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__detach_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help detach commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__dump-layout_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__dump-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help dump-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__dump-screen_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__dump-screen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help dump-screen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__edit_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__edit_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help edit commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__edit-scrollback_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__edit-scrollback_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help edit-scrollback commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__focus-last-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__focus-last-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help focus-last-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__focus-next-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__focus-next-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help focus-next-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__focus-pane-id_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__focus-pane-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help focus-pane-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__focus-previous-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__focus-previous-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help focus-previous-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__go-to-next-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__go-to-next-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help go-to-next-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__go-to-previous-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__go-to-previous-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help go-to-previous-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help go-to-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help go-to-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab-name_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__go-to-tab-name_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help go-to-tab-name commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__half-page-scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__half-page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help half-page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__half-page-scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__half-page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help half-page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__help_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__hide-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__hide-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help hide-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__launch-or-focus-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__launch-or-focus-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help launch-or-focus-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__launch-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__launch-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help launch-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__list-clients_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__list-clients_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help list-clients commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__list-panes_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__list-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help list-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__list-tabs_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__list-tabs_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help list-tabs commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__move-focus_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__move-focus_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help move-focus commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__move-focus-or-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__move-focus-or-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help move-focus-or-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__move-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__move-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help move-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__move-pane-backwards_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__move-pane-backwards_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help move-pane-backwards commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__move-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__move-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help move-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__new-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__new-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help new-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__new-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__new-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help new-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__next-swap-layout_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__next-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help next-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__override-layout_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__override-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help override-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__page-scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__page-scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__paste_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__paste_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help paste commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__pipe_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__pipe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help pipe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__previous-swap-layout_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__previous-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help previous-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__query-tab-names_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__query-tab-names_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help query-tab-names commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__rename-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__rename-session_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__rename-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help rename-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__rename-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__rename-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__rename-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help rename-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__resize_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__resize_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help resize commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__save-session_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__save-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help save-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__scroll-to-bottom_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__scroll-to-bottom_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help scroll-to-bottom commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__scroll-to-top_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__scroll-to-top_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help scroll-to-top commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__send-keys_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__send-keys_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help send-keys commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__set-dark-theme_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__set-dark-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help set-dark-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__set-light-theme_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__set-light-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help set-light-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__set-pane-borderless_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__set-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help set-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__set-pane-color_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__set-pane-color_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help set-pane-color commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__set-pane-frame-style_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__set-pane-frame-style_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help set-pane-frame-style commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__show-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__show-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help show-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__stack-panes_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__stack-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help stack-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__start-or-reload-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__start-or-reload-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help start-or-reload-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__switch-mode_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__switch-mode_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help switch-mode commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__switch-session_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__switch-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help switch-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-active-sync-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-active-sync-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-active-sync-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-fullscreen_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-no-ui-fullscreen_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-no-ui-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-no-ui-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-borderless_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-embed-or-floating_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-embed-or-floating_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-pane-embed-or-floating commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-frames_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-frames_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-pane-frames commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-pinned_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-pane-pinned_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-pane-pinned commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__toggle-theme_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__toggle-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help toggle-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__undo-rename-pane_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__undo-rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help undo-rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__undo-rename-tab_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__undo-rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help undo-rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__write_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__write_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help write commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__help__subcmd__write-chars_commands] )) ||
_zellij__subcmd__action__subcmd__help__subcmd__write-chars_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action help write-chars commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__hide-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__hide-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action hide-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__launch-or-focus-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__launch-or-focus-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action launch-or-focus-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__launch-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__launch-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action launch-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__list-clients_commands] )) ||
_zellij__subcmd__action__subcmd__list-clients_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action list-clients commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__list-panes_commands] )) ||
_zellij__subcmd__action__subcmd__list-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action list-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__list-tabs_commands] )) ||
_zellij__subcmd__action__subcmd__list-tabs_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action list-tabs commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__move-focus_commands] )) ||
_zellij__subcmd__action__subcmd__move-focus_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action move-focus commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__move-focus-or-tab_commands] )) ||
_zellij__subcmd__action__subcmd__move-focus-or-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action move-focus-or-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__move-pane_commands] )) ||
_zellij__subcmd__action__subcmd__move-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action move-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__move-pane-backwards_commands] )) ||
_zellij__subcmd__action__subcmd__move-pane-backwards_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action move-pane-backwards commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__move-tab_commands] )) ||
_zellij__subcmd__action__subcmd__move-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action move-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__new-pane_commands] )) ||
_zellij__subcmd__action__subcmd__new-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action new-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__new-tab_commands] )) ||
_zellij__subcmd__action__subcmd__new-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action new-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__next-swap-layout_commands] )) ||
_zellij__subcmd__action__subcmd__next-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action next-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__override-layout_commands] )) ||
_zellij__subcmd__action__subcmd__override-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action override-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__page-scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__page-scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__paste_commands] )) ||
_zellij__subcmd__action__subcmd__paste_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action paste commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__pipe_commands] )) ||
_zellij__subcmd__action__subcmd__pipe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action pipe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__previous-swap-layout_commands] )) ||
_zellij__subcmd__action__subcmd__previous-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action previous-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__query-tab-names_commands] )) ||
_zellij__subcmd__action__subcmd__query-tab-names_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action query-tab-names commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__rename-pane_commands] )) ||
_zellij__subcmd__action__subcmd__rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__rename-session_commands] )) ||
_zellij__subcmd__action__subcmd__rename-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action rename-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__rename-tab_commands] )) ||
_zellij__subcmd__action__subcmd__rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__rename-tab-by-id_commands] )) ||
_zellij__subcmd__action__subcmd__rename-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action rename-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__resize_commands] )) ||
_zellij__subcmd__action__subcmd__resize_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action resize commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__save-session_commands] )) ||
_zellij__subcmd__action__subcmd__save-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action save-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__scroll-down_commands] )) ||
_zellij__subcmd__action__subcmd__scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__scroll-to-bottom_commands] )) ||
_zellij__subcmd__action__subcmd__scroll-to-bottom_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action scroll-to-bottom commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__scroll-to-top_commands] )) ||
_zellij__subcmd__action__subcmd__scroll-to-top_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action scroll-to-top commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__scroll-up_commands] )) ||
_zellij__subcmd__action__subcmd__scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__send-keys_commands] )) ||
_zellij__subcmd__action__subcmd__send-keys_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action send-keys commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__set-dark-theme_commands] )) ||
_zellij__subcmd__action__subcmd__set-dark-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action set-dark-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__set-light-theme_commands] )) ||
_zellij__subcmd__action__subcmd__set-light-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action set-light-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__set-pane-borderless_commands] )) ||
_zellij__subcmd__action__subcmd__set-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action set-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__set-pane-color_commands] )) ||
_zellij__subcmd__action__subcmd__set-pane-color_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action set-pane-color commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__set-pane-frame-style_commands] )) ||
_zellij__subcmd__action__subcmd__set-pane-frame-style_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action set-pane-frame-style commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__show-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__show-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action show-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__stack-panes_commands] )) ||
_zellij__subcmd__action__subcmd__stack-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action stack-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__start-or-reload-plugin_commands] )) ||
_zellij__subcmd__action__subcmd__start-or-reload-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action start-or-reload-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__switch-mode_commands] )) ||
_zellij__subcmd__action__subcmd__switch-mode_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action switch-mode commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__switch-session_commands] )) ||
_zellij__subcmd__action__subcmd__switch-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action switch-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-active-sync-tab_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-active-sync-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-active-sync-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-floating-panes_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-fullscreen_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-no-ui-fullscreen_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-no-ui-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-no-ui-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-pane-borderless_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-pane-embed-or-floating_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-pane-embed-or-floating_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-pane-embed-or-floating commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-pane-frames_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-pane-frames_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-pane-frames commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-pane-pinned_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-pane-pinned_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-pane-pinned commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__toggle-theme_commands] )) ||
_zellij__subcmd__action__subcmd__toggle-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action toggle-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__undo-rename-pane_commands] )) ||
_zellij__subcmd__action__subcmd__undo-rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action undo-rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__undo-rename-tab_commands] )) ||
_zellij__subcmd__action__subcmd__undo-rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action undo-rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__write_commands] )) ||
_zellij__subcmd__action__subcmd__write_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action write commands' commands "$@"
}
(( $+functions[_zellij__subcmd__action__subcmd__write-chars_commands] )) ||
_zellij__subcmd__action__subcmd__write-chars_commands() {
    local commands; commands=()
    _describe -t commands 'zellij action write-chars commands' commands "$@"
}
(( $+functions[_zellij__subcmd__attach_commands] )) ||
_zellij__subcmd__attach_commands() {
    local commands; commands=(
'options:Change the behaviour of zellij' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij attach commands' commands "$@"
}
(( $+functions[_zellij__subcmd__attach__subcmd__help_commands] )) ||
_zellij__subcmd__attach__subcmd__help_commands() {
    local commands; commands=(
'options:Change the behaviour of zellij' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij attach help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__attach__subcmd__help__subcmd__help_commands] )) ||
_zellij__subcmd__attach__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'zellij attach help help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__attach__subcmd__help__subcmd__options_commands] )) ||
_zellij__subcmd__attach__subcmd__help__subcmd__options_commands() {
    local commands; commands=()
    _describe -t commands 'zellij attach help options commands' commands "$@"
}
(( $+functions[_zellij__subcmd__attach__subcmd__options_commands] )) ||
_zellij__subcmd__attach__subcmd__options_commands() {
    local commands; commands=()
    _describe -t commands 'zellij attach options commands' commands "$@"
}
(( $+functions[_zellij__subcmd__delete-all-sessions_commands] )) ||
_zellij__subcmd__delete-all-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij delete-all-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__delete-session_commands] )) ||
_zellij__subcmd__delete-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij delete-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__edit_commands] )) ||
_zellij__subcmd__edit_commands() {
    local commands; commands=()
    _describe -t commands 'zellij edit commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help_commands] )) ||
_zellij__subcmd__help_commands() {
    local commands; commands=(
'options:Change the behaviour of zellij' \
'setup:Setup zellij and check its configuration' \
'web:Run a web server to serve terminal sessions' \
'action:Send actions to a specific session' \
'list-sessions:List active sessions' \
'list-aliases:List existing plugin aliases' \
'attach:Attach to a session' \
'watch:Watch a session (read-only)' \
'kill-session:Kill a specific session' \
'delete-session:Delete a specific session' \
'kill-all-sessions:Kill all sessions' \
'delete-all-sessions:Delete all sessions' \
'run:Run a command in a new pane Returns\: Created pane ID (format\: terminal_<id>)' \
'plugin:Load a plugin Returns\: Created pane ID (format\: plugin_<id>)' \
'edit:Edit file with default \$EDITOR / \$VISUAL Returns\: Created pane ID (format\: terminal_<id>)' \
'pipe:Send data to one or more plugins, launch them if they are not running' \
'subscribe:Subscribe to pane render updates (viewport and scrollback)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'zellij help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action_commands] )) ||
_zellij__subcmd__help__subcmd__action_commands() {
    local commands; commands=(
'write:Write bytes to the terminal' \
'write-chars:Write characters to the terminal' \
'paste:Paste text to the terminal (using bracketed paste mode)' \
'send-keys:Send one or more keys to the terminal (e.g., "Ctrl a", "F1", "Alt Shift b")' \
'resize:\[increase|decrease\] the focused panes area at the \[left|down|up|right\] border' \
'focus-next-pane:Change focus to the next pane' \
'focus-previous-pane:Change focus to the previous pane' \
'focus-pane-id:Focus a specific pane by its ID' \
'focus-last-pane:Change focus to the last focused frame' \
'move-focus:Move the focused pane in the specified direction. \[right|left|up|down\]' \
'move-focus-or-tab:Move focus to the pane or tab (if on screen edge) in the specified direction \[right|left|up|down\]' \
'move-pane:Change the location of the focused pane in the specified direction or rotate forwrads \[right|left|up|down\]' \
'move-pane-backwards:Rotate the location of the previous pane backwards' \
'clear:Clear all buffers for a focused pane' \
'dump-screen:Dumps the viewport and optionally scrollback of a pane to a file or STDOUT' \
'dump-layout:Dump current layout to stdout' \
'save-session:Save the current session state to disk immediately' \
'edit-scrollback:Open the pane scrollback in your default editor' \
'scroll-up:Scroll up in the focused pane' \
'scroll-down:Scroll down in focus pane' \
'scroll-to-bottom:Scroll down to bottom in focus pane' \
'scroll-to-top:Scroll up to top in focus pane' \
'page-scroll-up:Scroll up one page in focus pane' \
'page-scroll-down:Scroll down one page in focus pane' \
'half-page-scroll-up:Scroll up half page in focus pane' \
'half-page-scroll-down:Scroll down half page in focus pane' \
'toggle-fullscreen:Toggle between fullscreen focus pane and normal layout' \
'toggle-no-ui-fullscreen:Toggle between fullscreen over the entire display (including the UI bars) and normal layout' \
'toggle-pane-frames:Toggle frames around panes in the UI' \
'set-pane-frame-style:' \
'toggle-active-sync-tab:Toggle between sending text commands to all panes on the current tab and normal mode' \
'new-pane:Open a new pane in the specified direction \[right|down\] If no direction is specified, will try to use the biggest available space. Returns\: Created pane ID (format\: terminal_<id> or plugin_<id>)' \
'edit:Open the specified file in a new zellij pane with your default EDITOR Returns\: Created pane ID (format\: terminal_<id>)' \
'switch-mode:Switch input mode of all connected clients \[locked|pane|tab|resize|move|search|session\]' \
'toggle-pane-embed-or-floating:Embed focused pane if floating or float focused pane if embedded' \
'toggle-floating-panes:Toggle the visibility of all floating panes in the current Tab, open one if none exist' \
'show-floating-panes:Show all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'hide-floating-panes:Hide all floating panes in the specified tab (or active tab if tab_id is not provided)' \
'are-floating-panes-visible:Check if floating panes are visible in the specified tab (or active tab)' \
'close-pane:Close the focused pane' \
'rename-pane:Renames the focused pane' \
'undo-rename-pane:Remove a previously set pane name' \
'go-to-next-tab:Go to the next tab' \
'go-to-previous-tab:Go to the previous tab' \
'close-tab:Close the current tab' \
'go-to-tab:Go to tab with index \[index\]' \
'go-to-tab-name:Go to tab with name \[name\]' \
'rename-tab:Renames the focused pane' \
'undo-rename-tab:Remove a previously set tab name' \
'go-to-tab-by-id:Go to tab with stable ID' \
'close-tab-by-id:Close tab with stable ID' \
'rename-tab-by-id:Rename tab by stable ID' \
'new-tab:Create a new tab, optionally with a specified tab layout and name' \
'move-tab:Move the focused tab in the specified direction. \[right|left\]' \
'previous-swap-layout:' \
'next-swap-layout:' \
'override-layout:Override the layout of the active tab' \
'query-tab-names:Query all tab names' \
'start-or-reload-plugin:' \
'launch-or-focus-plugin:Returns\: Plugin pane ID (format\: plugin_<id>) when creating or focusing plugin' \
'launch-plugin:Returns\: Plugin pane ID (format\: plugin_<id>)' \
'rename-session:' \
'pipe:Send data to one or more plugins, launch them if they are not running' \
'list-clients:' \
'list-panes:List all panes in the current session' \
'list-tabs:List all tabs with their information' \
'current-tab-info:Get information about the currently active tab' \
'toggle-pane-pinned:' \
'stack-panes:Stack pane ids Ids are a space separated list of pane ids. They should either be in the form of \`terminal_<int>\` (eg. terminal_1), \`plugin_<int>\` (eg. plugin_1) or bare integers in which case they'\''ll be considered terminals (eg. 1 is the equivalent of terminal_1)' \
'change-floating-pane-coordinates:' \
'toggle-pane-borderless:' \
'set-pane-borderless:' \
'detach:Detach from the current session' \
'set-dark-theme:Switch the theme to dark (uses configured \`theme_dark\`)' \
'set-light-theme:Switch the theme to light (uses configured \`theme_light\`)' \
'toggle-theme:Toggle between dark and light themes (used configured \`theme_dark\` and \`theme_light\`)' \
'switch-session:Switch to a different session' \
'set-pane-color:Set the default foreground/background color of a pane' \
    )
    _describe -t commands 'zellij help action commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__are-floating-panes-visible_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__are-floating-panes-visible_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action are-floating-panes-visible commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__change-floating-pane-coordinates_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__change-floating-pane-coordinates_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action change-floating-pane-coordinates commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__clear_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__clear_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action clear commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__close-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__close-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action close-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__close-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__close-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action close-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__close-tab-by-id_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__close-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action close-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__current-tab-info_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__current-tab-info_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action current-tab-info commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__detach_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__detach_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action detach commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__dump-layout_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__dump-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action dump-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__dump-screen_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__dump-screen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action dump-screen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__edit_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__edit_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action edit commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__edit-scrollback_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__edit-scrollback_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action edit-scrollback commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__focus-last-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__focus-last-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action focus-last-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__focus-next-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__focus-next-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action focus-next-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__focus-pane-id_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__focus-pane-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action focus-pane-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__focus-previous-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__focus-previous-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action focus-previous-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__go-to-next-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__go-to-next-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action go-to-next-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__go-to-previous-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__go-to-previous-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action go-to-previous-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action go-to-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab-by-id_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action go-to-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab-name_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__go-to-tab-name_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action go-to-tab-name commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__half-page-scroll-down_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__half-page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action half-page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__half-page-scroll-up_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__half-page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action half-page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__hide-floating-panes_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__hide-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action hide-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__launch-or-focus-plugin_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__launch-or-focus-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action launch-or-focus-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__launch-plugin_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__launch-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action launch-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__list-clients_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__list-clients_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action list-clients commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__list-panes_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__list-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action list-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__list-tabs_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__list-tabs_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action list-tabs commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__move-focus_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__move-focus_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action move-focus commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__move-focus-or-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__move-focus-or-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action move-focus-or-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__move-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__move-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action move-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__move-pane-backwards_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__move-pane-backwards_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action move-pane-backwards commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__move-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__move-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action move-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__new-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__new-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action new-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__new-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__new-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action new-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__next-swap-layout_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__next-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action next-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__override-layout_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__override-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action override-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__page-scroll-down_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__page-scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action page-scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__page-scroll-up_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__page-scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action page-scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__paste_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__paste_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action paste commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__pipe_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__pipe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action pipe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__previous-swap-layout_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__previous-swap-layout_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action previous-swap-layout commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__query-tab-names_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__query-tab-names_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action query-tab-names commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__rename-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__rename-session_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__rename-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action rename-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__rename-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__rename-tab-by-id_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__rename-tab-by-id_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action rename-tab-by-id commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__resize_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__resize_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action resize commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__save-session_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__save-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action save-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__scroll-down_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__scroll-down_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action scroll-down commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__scroll-to-bottom_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__scroll-to-bottom_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action scroll-to-bottom commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__scroll-to-top_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__scroll-to-top_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action scroll-to-top commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__scroll-up_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__scroll-up_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action scroll-up commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__send-keys_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__send-keys_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action send-keys commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__set-dark-theme_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__set-dark-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action set-dark-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__set-light-theme_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__set-light-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action set-light-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__set-pane-borderless_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__set-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action set-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__set-pane-color_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__set-pane-color_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action set-pane-color commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__set-pane-frame-style_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__set-pane-frame-style_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action set-pane-frame-style commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__show-floating-panes_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__show-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action show-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__stack-panes_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__stack-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action stack-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__start-or-reload-plugin_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__start-or-reload-plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action start-or-reload-plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__switch-mode_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__switch-mode_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action switch-mode commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__switch-session_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__switch-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action switch-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-active-sync-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-active-sync-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-active-sync-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-floating-panes_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-floating-panes_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-floating-panes commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-fullscreen_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-no-ui-fullscreen_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-no-ui-fullscreen_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-no-ui-fullscreen commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-borderless_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-borderless_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-pane-borderless commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-embed-or-floating_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-embed-or-floating_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-pane-embed-or-floating commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-frames_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-frames_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-pane-frames commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-pinned_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-pane-pinned_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-pane-pinned commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__toggle-theme_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__toggle-theme_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action toggle-theme commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__undo-rename-pane_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__undo-rename-pane_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action undo-rename-pane commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__undo-rename-tab_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__undo-rename-tab_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action undo-rename-tab commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__write_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__write_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action write commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__action__subcmd__write-chars_commands] )) ||
_zellij__subcmd__help__subcmd__action__subcmd__write-chars_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help action write-chars commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__attach_commands] )) ||
_zellij__subcmd__help__subcmd__attach_commands() {
    local commands; commands=(
'options:Change the behaviour of zellij' \
    )
    _describe -t commands 'zellij help attach commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__attach__subcmd__options_commands] )) ||
_zellij__subcmd__help__subcmd__attach__subcmd__options_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help attach options commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__delete-all-sessions_commands] )) ||
_zellij__subcmd__help__subcmd__delete-all-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help delete-all-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__delete-session_commands] )) ||
_zellij__subcmd__help__subcmd__delete-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help delete-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__edit_commands] )) ||
_zellij__subcmd__help__subcmd__edit_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help edit commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__help_commands] )) ||
_zellij__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help help commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__kill-all-sessions_commands] )) ||
_zellij__subcmd__help__subcmd__kill-all-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help kill-all-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__kill-session_commands] )) ||
_zellij__subcmd__help__subcmd__kill-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help kill-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__list-aliases_commands] )) ||
_zellij__subcmd__help__subcmd__list-aliases_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help list-aliases commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__list-sessions_commands] )) ||
_zellij__subcmd__help__subcmd__list-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help list-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__options_commands] )) ||
_zellij__subcmd__help__subcmd__options_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help options commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__pipe_commands] )) ||
_zellij__subcmd__help__subcmd__pipe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help pipe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__plugin_commands] )) ||
_zellij__subcmd__help__subcmd__plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__run_commands] )) ||
_zellij__subcmd__help__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help run commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__setup_commands] )) ||
_zellij__subcmd__help__subcmd__setup_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help setup commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__subscribe_commands] )) ||
_zellij__subcmd__help__subcmd__subscribe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help subscribe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__watch_commands] )) ||
_zellij__subcmd__help__subcmd__watch_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help watch commands' commands "$@"
}
(( $+functions[_zellij__subcmd__help__subcmd__web_commands] )) ||
_zellij__subcmd__help__subcmd__web_commands() {
    local commands; commands=()
    _describe -t commands 'zellij help web commands' commands "$@"
}
(( $+functions[_zellij__subcmd__kill-all-sessions_commands] )) ||
_zellij__subcmd__kill-all-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij kill-all-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__kill-session_commands] )) ||
_zellij__subcmd__kill-session_commands() {
    local commands; commands=()
    _describe -t commands 'zellij kill-session commands' commands "$@"
}
(( $+functions[_zellij__subcmd__list-aliases_commands] )) ||
_zellij__subcmd__list-aliases_commands() {
    local commands; commands=()
    _describe -t commands 'zellij list-aliases commands' commands "$@"
}
(( $+functions[_zellij__subcmd__list-sessions_commands] )) ||
_zellij__subcmd__list-sessions_commands() {
    local commands; commands=()
    _describe -t commands 'zellij list-sessions commands' commands "$@"
}
(( $+functions[_zellij__subcmd__options_commands] )) ||
_zellij__subcmd__options_commands() {
    local commands; commands=()
    _describe -t commands 'zellij options commands' commands "$@"
}
(( $+functions[_zellij__subcmd__pipe_commands] )) ||
_zellij__subcmd__pipe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij pipe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__plugin_commands] )) ||
_zellij__subcmd__plugin_commands() {
    local commands; commands=()
    _describe -t commands 'zellij plugin commands' commands "$@"
}
(( $+functions[_zellij__subcmd__run_commands] )) ||
_zellij__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'zellij run commands' commands "$@"
}
(( $+functions[_zellij__subcmd__setup_commands] )) ||
_zellij__subcmd__setup_commands() {
    local commands; commands=()
    _describe -t commands 'zellij setup commands' commands "$@"
}
(( $+functions[_zellij__subcmd__subscribe_commands] )) ||
_zellij__subcmd__subscribe_commands() {
    local commands; commands=()
    _describe -t commands 'zellij subscribe commands' commands "$@"
}
(( $+functions[_zellij__subcmd__watch_commands] )) ||
_zellij__subcmd__watch_commands() {
    local commands; commands=()
    _describe -t commands 'zellij watch commands' commands "$@"
}
(( $+functions[_zellij__subcmd__web_commands] )) ||
_zellij__subcmd__web_commands() {
    local commands; commands=()
    _describe -t commands 'zellij web commands' commands "$@"
}

if [ "$funcstack[1]" = "_zellij" ]; then
    _zellij "$@"
else
    compdef _zellij zellij
fi
function zr () { zellij run --name "$*" -- zsh -ic "$*";}
function zrf () { zellij run --name "$*" --floating -- zsh -ic "$*";}
function zri () { zellij run --name "$*" --in-place -- zsh -ic "$*";}
function ze () { zellij edit "$*";}
function zef () { zellij edit --floating "$*";}
function zei () { zellij edit --in-place "$*";}
function zpipe () { 
  if [ -z "$1" ]; then
    zellij pipe;
  else 
    zellij pipe -p $1;
  fi
}