fork/wezterm
git clone https://git.julia.blue/fork/wezterm
91749f7f1
termwiz-0.23.2
1#compdef wezterm 2 3autoload -U is-at-least 4 5_wezterm () { 6typeset -A opt_args 7typeset -a _arguments_options 8local ret =1 9 10if is-at-least 5.2 ;then 11_arguments_options =(-s -S -C ) 12else 13_arguments_options =(-s -C ) 14fi 15 16local context curcontext ="$curcontext" state line 17_arguments "${_arguments_options[@]} " \ 18'(-n --skip-config)--config-file=[Specify the configuration file to use, overrides the normal configuration file resolution]:CONFIG_FILE:_files' \ 19'*--config=[Override specific configuration values]:name=value: ' \ 20'-n[Skip loading wezterm.lua]' \ 21'--skip-config[Skip loading wezterm.lua]' \ 22'-h[Print help]' \ 23'--help[Print help]' \ 24'-V[Print version]' \ 25'--version[Print version]' \ 26":: :_wezterm_commands" \ 27"*::: :->wezterm" \ 28&&ret =0 29case $statein 30 (wezterm ) 31words =($line[1]" ${words[@]} " ) 32 ((CURRENT +=1 )) 33curcontext =" ${curcontext%:*:*} :wezterm-command-$line[1]:" 34case $line[1] in 35 (start ) 36_arguments "${_arguments_options[@]} " \ 37'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \ 38'--class=[Override the default windowing system class. The default is "org.wezfurlong.wezterm". Under X11 and Windows this changes the window class. Under Wayland this changes the app_id. This changes the class for all windows spawned by this instance of wezterm, including error, update and ssh authentication dialogs]:CLASS: ' \ 39'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \ 40'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \ 41'--domain=[Name of the multiplexer domain section from the configuration to which you'\''d like to connect. If omitted, the default domain will be used]:DOMAIN: ' \ 42'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your wezterm configuration file]' \ 43'--always-new-process[If enabled, don'\''t try to ask an existing wezterm GUI instance to start the command. Instead, always start the GUI in this invocation of wezterm so that you can wait for the command to complete by waiting for this wezterm process to finish]' \ 44'(--always-new-process)--new-tab[When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window]' \ 45'-e[Dummy argument that consumes "-e" and does nothing. This is meant as a compatibility layer for supporting the widely adopted standard of passing the command to execute to the terminal via a "-e" option. This works because we then treat the remaining cmdline as trailing options, that will automatically be parsed via the existing "prog" option. This option exists only as a fallback. It is recommended to pass the command as a normal trailing command instead if possible]' \ 46'--attach[When used with --domain, if the domain already has running panes, wezterm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, wezterm will attach AND then spawn PROG]' \ 47'-h[Print help (see more with '\''--help'\'')]' \ 48'--help[Print help (see more with '\''--help'\'')]' \ 49'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm start -- bash -l` will spawn bash as if it were a login shell. \[aliases\: -e\]:_cmdambivalent' \ 50&&ret =0 51;; 52(blocking-start ) 53_arguments "${_arguments_options[@]} " \ 54'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \ 55'--class=[Override the default windowing system class. The default is "org.wezfurlong.wezterm". Under X11 and Windows this changes the window class. Under Wayland this changes the app_id. This changes the class for all windows spawned by this instance of wezterm, including error, update and ssh authentication dialogs]:CLASS: ' \ 56'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \ 57'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \ 58'--domain=[Name of the multiplexer domain section from the configuration to which you'\''d like to connect. If omitted, the default domain will be used]:DOMAIN: ' \ 59'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your wezterm configuration file]' \ 60'--always-new-process[If enabled, don'\''t try to ask an existing wezterm GUI instance to start the command. Instead, always start the GUI in this invocation of wezterm so that you can wait for the command to complete by waiting for this wezterm process to finish]' \ 61'(--always-new-process)--new-tab[When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window]' \ 62'-e[Dummy argument that consumes "-e" and does nothing. This is meant as a compatibility layer for supporting the widely adopted standard of passing the command to execute to the terminal via a "-e" option. This works because we then treat the remaining cmdline as trailing options, that will automatically be parsed via the existing "prog" option. This option exists only as a fallback. It is recommended to pass the command as a normal trailing command instead if possible]' \ 63'--attach[When used with --domain, if the domain already has running panes, wezterm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, wezterm will attach AND then spawn PROG]' \ 64'-h[Print help (see more with '\''--help'\'')]' \ 65'--help[Print help (see more with '\''--help'\'')]' \ 66'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm start -- bash -l` will spawn bash as if it were a login shell. \[aliases\: -e\]:_cmdambivalent' \ 67&&ret =0 68;; 69(ssh ) 70_arguments "${_arguments_options[@]} " \ 71'*-o+[Override specific SSH configuration options. \`wezterm ssh\` is able to parse some (but not all!) options from your \`~/.ssh/config\` and \`/etc/ssh/ssh_config\` files. This command line switch allows you to override or otherwise specify ssh_config style options]:name=value: ' \ 72'*--ssh-option=[Override specific SSH configuration options. \`wezterm ssh\` is able to parse some (but not all!) options from your \`~/.ssh/config\` and \`/etc/ssh/ssh_config\` files. This command line switch allows you to override or otherwise specify ssh_config style options]:name=value: ' \ 73'--class=[Override the default windowing system class. The default is "org.wezfurlong.wezterm". Under X11 and Windows this changes the window class. Under Wayland this changes the app_id. This changes the class for all windows spawned by this instance of wezterm, including error, update and ssh authentication dialogs]:CLASS: ' \ 74'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \ 75'-v[Enable verbose ssh protocol tracing. The trace information is printed to the stderr stream of the process]' \ 76'-h[Print help (see more with '\''--help'\'')]' \ 77'--help[Print help (see more with '\''--help'\'')]' \ 78':user_at_host_and_port -- Specifies the remote system using the form\: `\[username@\]host\[\:port\]`. If `username@` is omitted, then your local $USER is used instead. If `\:port` is omitted, then the standard ssh port (22) is used instead:' \ 79'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm ssh user@host -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \ 80&&ret =0 81;; 82(serial ) 83_arguments "${_arguments_options[@]} " \ 84'--baud=[Set the baud rate. The default is 9600 baud]:BAUD: ' \ 85'--class=[Override the default windowing system class. The default is "org.wezfurlong.wezterm". Under X11 and Windows this changes the window class. Under Wayland this changes the app_id. This changes the class for all windows spawned by this instance of wezterm, including error, update and ssh authentication dialogs]:CLASS: ' \ 86'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \ 87'-h[Print help (see more with '\''--help'\'')]' \ 88'--help[Print help (see more with '\''--help'\'')]' \ 89':port -- Specifies the serial device name. On Windows systems this can be a name like `COM0`. On posix systems this will be something like `/dev/ttyUSB0`:' \ 90&&ret =0 91;; 92(connect ) 93_arguments "${_arguments_options[@]} " \ 94'--class=[Override the default windowing system class. The default is "org.wezfurlong.wezterm". Under X11 and Windows this changes the window class. Under Wayland this changes the app_id. This changes the class for all windows spawned by this instance of wezterm, including error, update and ssh authentication dialogs]:CLASS: ' \ 95'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \ 96'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \ 97'--new-tab[When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window]' \ 98'-h[Print help (see more with '\''--help'\'')]' \ 99'--help[Print help (see more with '\''--help'\'')]' \ 100':domain_name -- Name of the multiplexer domain section from the configuration to which you'\''d like to connect:' \ 101'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm start -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \ 102&&ret =0 103;; 104(ls-fonts ) 105_arguments "${_arguments_options[@]} " \ 106'(--list-system --codepoints)--text=[Explain which fonts are used to render the supplied text string]:TEXT: ' \ 107'(--list-system)--codepoints=[Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values]:CODEPOINTS: ' \ 108'--list-system[Whether to list all fonts available to the system]' \ 109'--rasterize-ascii[Show rasterized glyphs for the text in --text or --codepoints using ascii blocks]' \ 110'-h[Print help]' \ 111'--help[Print help]' \ 112&&ret =0 113;; 114(show-keys ) 115_arguments "${_arguments_options[@]} " \ 116'--key-table=[In lua mode, show only the named key table]:KEY_TABLE: ' \ 117'--lua[Show the keys as lua config statements]' \ 118'-h[Print help]' \ 119'--help[Print help]' \ 120&&ret =0 121;; 122(cli ) 123_arguments "${_arguments_options[@]} " \ 124'--class=[When connecting to a gui instance, if you started the gui with \`--class SOMETHING\`, you should also pass that same value here in order for the client to find the correct gui instance]:CLASS: ' \ 125'--no-auto-start[Don'\''t automatically start the server]' \ 126'--prefer-mux[Prefer connecting to a background mux server. The default is to prefer connecting to a running wezterm gui instance]' \ 127'-h[Print help]' \ 128'--help[Print help]' \ 129":: :_wezterm__cli_commands" \ 130"*::: :->cli" \ 131&&ret =0 132 133case $statein 134 (cli ) 135words =($line[1]" ${words[@]} " ) 136 ((CURRENT +=1 )) 137curcontext =" ${curcontext%:*:*} :wezterm-cli-command-$line[1]:" 138case $line[1] in 139 (list ) 140_arguments "${_arguments_options[@]} " \ 141'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT: ' \ 142'-h[Print help]' \ 143'--help[Print help]' \ 144&&ret =0 145;; 146(list-clients ) 147_arguments "${_arguments_options[@]} " \ 148'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT: ' \ 149'-h[Print help]' \ 150'--help[Print help]' \ 151&&ret =0 152;; 153(proxy ) 154_arguments "${_arguments_options[@]} " \ 155'-h[Print help]' \ 156'--help[Print help]' \ 157&&ret =0 158;; 159(tlscreds ) 160_arguments "${_arguments_options[@]} " \ 161'--pem[Output a PEM file encoded copy of the credentials]' \ 162'-h[Print help (see more with '\''--help'\'')]' \ 163'--help[Print help (see more with '\''--help'\'')]' \ 164&&ret =0 165;; 166(move-pane-to-new-tab ) 167_arguments "${_arguments_options[@]} " \ 168'--pane-id=[Specify the pane that should be moved. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 169'--window-id=[Specify the window into which the new tab will be created. If omitted, the window associated with the current pane is used]:WINDOW_ID: ' \ 170'--workspace=[If creating a new window, override the default workspace name with the provided name. The default name is "default"]:WORKSPACE: ' \ 171'(--window-id)--new-window[Create tab in a new window, rather than the window currently containing the pane]' \ 172'-h[Print help]' \ 173'--help[Print help]' \ 174&&ret =0 175;; 176(split-pane ) 177_arguments "${_arguments_options[@]} " \ 178'--pane-id=[Specify the pane that should be split. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 179'--cells=[The number of cells that the new split should have. If omitted, 50% of the available space is used]:CELLS: ' \ 180'(--cells)--percent=[Specify the number of cells that the new split should have, expressed as a percentage of the available space]:PERCENT: ' \ 181'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \ 182'(--cwd)--move-pane-id=[Instead of spawning a new command, move the specified pane into the newly created split]:MOVE_PANE_ID: ' \ 183'(--left --right --top --bottom)--horizontal[Equivalent to \`--right\`. If neither this nor any other direction is specified, the default is equivalent to \`--bottom\`]' \ 184'(--right --top --bottom)--left[Split horizontally, with the new pane on the left]' \ 185'(--left --top --bottom)--right[Split horizontally, with the new pane on the right]' \ 186'(--left --right --bottom)--top[Split vertically, with the new pane on the top]' \ 187'(--left --right --top)--bottom[Split vertically, with the new pane on the bottom]' \ 188'--top-level[Rather than splitting the active pane, split the entire window]' \ 189'-h[Print help]' \ 190'--help[Print help]' \ 191'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm cli split-pane -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \ 192&&ret =0 193;; 194(spawn ) 195_arguments "${_arguments_options[@]} " \ 196'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE. The pane is used to determine the current domain and window]:PANE_ID: ' \ 197'--domain-name=[]:DOMAIN_NAME: ' \ 198'(--workspace --new-window)--window-id=[Specify the window into which to spawn a tab. If omitted, the window associated with the current pane is used. Cannot be used with \`--workspace\` or \`--new-window\`]:WINDOW_ID: ' \ 199'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \ 200'--workspace=[When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires \`--new-window\`]:WORKSPACE: ' \ 201'--new-window[Spawn into a new window, rather than a new tab]' \ 202'-h[Print help]' \ 203'--help[Print help]' \ 204'*::prog -- Instead of executing your shell, run PROG. For example\: `wezterm cli spawn -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \ 205&&ret =0 206;; 207(send-text ) 208_arguments "${_arguments_options[@]} " \ 209'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 210'--no-paste[Send the text directly, rather than as a bracketed paste]' \ 211'-h[Print help]' \ 212'--help[Print help]' \ 213'::text -- The text to send. If omitted, will read the text from stdin:' \ 214&&ret =0 215;; 216(get-text ) 217_arguments "${_arguments_options[@]} " \ 218'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 219'--start-line=[The starting line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value is unspecified is 0, the first line of the terminal screen]:START_LINE: ' \ 220'--end-line=[The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the the terminal screen]:END_LINE: ' \ 221'--escapes[Include escape sequences that color and style the text. If omitted, unattributed text will be returned]' \ 222'-h[Print help]' \ 223'--help[Print help]' \ 224&&ret =0 225;; 226(activate-pane-direction ) 227_arguments "${_arguments_options[@]} " \ 228'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 229'-h[Print help]' \ 230'--help[Print help]' \ 231':direction -- The direction to switch to:(Up Down Left Right Next Prev)' \ 232&&ret =0 233;; 234(get-pane-direction ) 235_arguments "${_arguments_options[@]} " \ 236'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 237'-h[Print help (see more with '\''--help'\'')]' \ 238'--help[Print help (see more with '\''--help'\'')]' \ 239':direction -- The direction to consider:(Up Down Left Right Next Prev)' \ 240&&ret =0 241;; 242(kill-pane ) 243_arguments "${_arguments_options[@]} " \ 244'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 245'-h[Print help]' \ 246'--help[Print help]' \ 247&&ret =0 248;; 249(activate-pane ) 250_arguments "${_arguments_options[@]} " \ 251'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 252'-h[Print help]' \ 253'--help[Print help]' \ 254&&ret =0 255;; 256(adjust-pane-size ) 257_arguments "${_arguments_options[@]} " \ 258'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 259'--amount=[Specify the number of cells to resize by, defaults to 1]:AMOUNT: ' \ 260'-h[Print help]' \ 261'--help[Print help]' \ 262':direction -- Specify the direction to resize in:(Up Down Left Right Next Prev)' \ 263&&ret =0 264;; 265(activate-tab ) 266_arguments "${_arguments_options[@]} " \ 267'(--tab-index --tab-relative --no-wrap --pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID: ' \ 268'--tab-index=[Specify the target tab by its index within the window that holds the current pane. Indices are 0-based, with 0 being the left-most tab. Negative numbers can be used to reference the right-most tab, so -1 is the right-most tab, -2 is the penultimate tab and so on]:TAB_INDEX: ' \ 269'--tab-relative=[Specify the target tab by its relative offset. -1 selects the tab to the left. -2 two tabs to the left. 1 is one tab to the right and so on]:TAB_RELATIVE: ' \ 270'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 271'--no-wrap[When used with tab-relative, prevents wrapping around and will instead clamp to the left-most when moving left or right-most when moving right]' \ 272'-h[Print help (see more with '\''--help'\'')]' \ 273'--help[Print help (see more with '\''--help'\'')]' \ 274&&ret =0 275;; 276(set-tab-title ) 277_arguments "${_arguments_options[@]} " \ 278'(--pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID: ' \ 279'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 280'-h[Print help (see more with '\''--help'\'')]' \ 281'--help[Print help (see more with '\''--help'\'')]' \ 282':title -- The new title for the tab:' \ 283&&ret =0 284;; 285(set-window-title ) 286_arguments "${_arguments_options[@]} " \ 287'(--pane-id)--window-id=[Specify the target window by its id]:WINDOW_ID: ' \ 288'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 289'-h[Print help (see more with '\''--help'\'')]' \ 290'--help[Print help (see more with '\''--help'\'')]' \ 291':title -- The new title for the window:' \ 292&&ret =0 293;; 294(rename-workspace ) 295_arguments "${_arguments_options[@]} " \ 296'--workspace=[Specify the workspace to rename]:WORKSPACE: ' \ 297'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 298'-h[Print help (see more with '\''--help'\'')]' \ 299'--help[Print help (see more with '\''--help'\'')]' \ 300':new_workspace -- The new name for the workspace:' \ 301&&ret =0 302;; 303(zoom-pane ) 304_arguments "${_arguments_options[@]} " \ 305'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \ 306'(--unzoom --toggle)--zoom[Zooms the pane if it wasn'\''t already zoomed]' \ 307'(--zoom --toggle)--unzoom[Unzooms the pane if it was zoomed]' \ 308'(--zoom --unzoom)--toggle[Toggles the zoom state of the pane]' \ 309'-h[Print help]' \ 310'--help[Print help]' \ 311&&ret =0 312;; 313(help ) 314_arguments "${_arguments_options[@]} " \ 315":: :_wezterm__cli__help_commands" \ 316"*::: :- >help " \ 317&&ret =0 318 319case $statein 320 (help ) 321words =($line[1]" ${words[@]} " ) 322 ((CURRENT +=1 )) 323curcontext =" ${curcontext%:*:*} :wezterm-cli-help-command-$line[1]:" 324case $line[1] in 325 (list ) 326_arguments "${_arguments_options[@]} " \ 327&&ret =0 328;; 329(list-clients ) 330_arguments "${_arguments_options[@]} " \ 331&&ret =0 332;; 333(proxy ) 334_arguments "${_arguments_options[@]} " \ 335&&ret =0 336;; 337(tlscreds ) 338_arguments "${_arguments_options[@]} " \ 339&&ret =0 340;; 341(move-pane-to-new-tab ) 342_arguments "${_arguments_options[@]} " \ 343&&ret =0 344;; 345(split-pane ) 346_arguments "${_arguments_options[@]} " \ 347&&ret =0 348;; 349(spawn ) 350_arguments "${_arguments_options[@]} " \ 351&&ret =0 352;; 353(send-text ) 354_arguments "${_arguments_options[@]} " \ 355&&ret =0 356;; 357(get-text ) 358_arguments "${_arguments_options[@]} " \ 359&&ret =0 360;; 361(activate-pane-direction ) 362_arguments "${_arguments_options[@]} " \ 363&&ret =0 364;; 365(get-pane-direction ) 366_arguments "${_arguments_options[@]} " \ 367&&ret =0 368;; 369(kill-pane ) 370_arguments "${_arguments_options[@]} " \ 371&&ret =0 372;; 373(activate-pane ) 374_arguments "${_arguments_options[@]} " \ 375&&ret =0 376;; 377(adjust-pane-size ) 378_arguments "${_arguments_options[@]} " \ 379&&ret =0 380;; 381(activate-tab ) 382_arguments "${_arguments_options[@]} " \ 383&&ret =0 384;; 385(set-tab-title ) 386_arguments "${_arguments_options[@]} " \ 387&&ret =0 388;; 389(set-window-title ) 390_arguments "${_arguments_options[@]} " \ 391&&ret =0 392;; 393(rename-workspace ) 394_arguments "${_arguments_options[@]} " \ 395&&ret =0 396;; 397(zoom-pane ) 398_arguments "${_arguments_options[@]} " \ 399&&ret =0 400;; 401(help ) 402_arguments "${_arguments_options[@]} " \ 403&&ret =0 404;; 405esac 406 ;; 407esac 408;; 409 esac 410 ;; 411esac 412;; 413(imgcat ) 414_arguments "${_arguments_options[@]} " \ 415'--width=[Specify the display width; defaults to "auto" which automatically selects an appropriate size. You may also use an integer value \`N\` to specify the number of cells, or \`Npx\` to specify the number of pixels, or \`N%\` to size relative to the terminal width]:WIDTH: ' \ 416'--height=[Specify the display height; defaults to "auto" which automatically selects an appropriate size. You may also use an integer value \`N\` to specify the number of cells, or \`Npx\` to specify the number of pixels, or \`N%\` to size relative to the terminal height]:HEIGHT: ' \ 417'--position=[Set the cursor position prior to displaying the image. The default is to use the current cursor position. Coordinates are expressed in cells with 0,0 being the top left cell position]:POSITION: ' \ 418'--tmux-passthru=[How to manage passing the escape through to tmux]:TMUX_PASSTHRU:(disable enable detect)' \ 419'--max-pixels=[Set the maximum number of pixels per image frame. Images will be scaled down so that they do not exceed this size, unless \`--no-resample\` is also used. The default value matches the limit set by wezterm. Note that resampling the image here will reduce any animated images to a single frame]:MAX_PIXELS: ' \ 420'--resample-format=[Specify the image format to use to encode resampled/resized images. The default is to match the input format, but you can choose an alternative format]:RESAMPLE_FORMAT:(png jpeg input)' \ 421'--resample-filter=[Specify the filtering technique used when resizing/resampling images. The default is a reasonable middle ground of speed and quality]:RESAMPLE_FILTER:(nearest triangle catmull-rom gaussian lanczos3)' \ 422'--resize=[Pre-process the image to resize it to the specified dimensions, expressed as eg\: 800x600 (width x height). The resize is independent of other parameters that control the image placement and dimensions in the terminal; this is provided as a convenience preprocessing step]:WIDTHxHEIGHT: ' \ 423'--no-preserve-aspect-ratio[Do not respect the aspect ratio. The default is to respect the aspect ratio]' \ 424'--no-move-cursor[Do not move the cursor after displaying the image. Note that when used like this from the shell, there is a very high chance that shell prompt will overwrite the image; you may wish to also use \`--hold\` in that case]' \ 425'--hold[Wait for enter to be pressed after displaying the image]' \ 426'--no-resample[Do not resample images whose frames are larger than the max-pixels value. Note that this will typically result in the image refusing to display in wezterm]' \ 427'--show-resample-timing[When resampling or resizing, display some diagnostics around the timing/performance of that operation]' \ 428'-h[Print help (see more with '\''--help'\'')]' \ 429'--help[Print help (see more with '\''--help'\'')]' \ 430'::file_name -- The name of the image file to be displayed. If omitted, will attempt to read it from stdin:_files' \ 431&&ret =0 432;; 433(set-working-directory ) 434_arguments "${_arguments_options[@]} " \ 435'--tmux-passthru=[How to manage passing the escape through to tmux]:TMUX_PASSTHRU:(disable enable detect)' \ 436'-h[Print help]' \ 437'--help[Print help]' \ 438'::cwd -- The directory to specify. If omitted, will use the current directory of the process itself:_files -/' \ 439'::host -- The hostname to use in the constructed file\:// URL. If omitted, the system hostname will be used:_hosts' \ 440&&ret =0 441;; 442(record ) 443_arguments "${_arguments_options[@]} " \ 444'--cwd=[Start in the specified directory, instead of the default_cwd defined by your wezterm configuration]:CWD:_files' \ 445'-h[Print help]' \ 446'--help[Print help]' \ 447'*::prog -- Start prog instead of the default_prog defined by your wezterm configuration:' \ 448&&ret =0 449;; 450(replay ) 451_arguments "${_arguments_options[@]} " \ 452'--explain[Explain what is being sent/received]' \ 453'(--explain)--explain-only[Don'\''t replay, just show the explanation]' \ 454'(--explain)--cat[Just emit raw escape sequences all at once, with no timing information]' \ 455'-h[Print help]' \ 456'--help[Print help]' \ 457':cast_file:_files' \ 458&&ret =0 459;; 460(shell-completion ) 461_arguments "${_arguments_options[@]} " \ 462'--shell=[Which shell to generate for]:SHELL:(bash elvish fish power-shell zsh fig)' \ 463'-h[Print help]' \ 464'--help[Print help]' \ 465&&ret =0 466;; 467(help ) 468_arguments "${_arguments_options[@]} " \ 469":: :_wezterm__help_commands" \ 470"*::: :- >help " \ 471&&ret =0 472 473case $statein 474 (help ) 475words =($line[1]" ${words[@]} " ) 476 ((CURRENT +=1 )) 477curcontext =" ${curcontext%:*:*} :wezterm-help-command-$line[1]:" 478case $line[1] in 479 (start ) 480_arguments "${_arguments_options[@]} " \ 481&&ret =0 482;; 483(blocking-start ) 484_arguments "${_arguments_options[@]} " \ 485&&ret =0 486;; 487(ssh ) 488_arguments "${_arguments_options[@]} " \ 489&&ret =0 490;; 491(serial ) 492_arguments "${_arguments_options[@]} " \ 493&&ret =0 494;; 495(connect ) 496_arguments "${_arguments_options[@]} " \ 497&&ret =0 498;; 499(ls-fonts ) 500_arguments "${_arguments_options[@]} " \ 501&&ret =0 502;; 503(show-keys ) 504_arguments "${_arguments_options[@]} " \ 505&&ret =0 506;; 507(cli ) 508_arguments "${_arguments_options[@]} " \ 509":: :_wezterm__help__cli_commands" \ 510"*::: :- >cli " \ 511&&ret =0 512 513case $statein 514 (cli ) 515words =($line[1]" ${words[@]} " ) 516 ((CURRENT +=1 )) 517curcontext =" ${curcontext%:*:*} :wezterm-help-cli-command-$line[1]:" 518case $line[1] in 519 (list ) 520_arguments "${_arguments_options[@]} " \ 521&&ret =0 522;; 523(list-clients ) 524_arguments "${_arguments_options[@]} " \ 525&&ret =0 526;; 527(proxy ) 528_arguments "${_arguments_options[@]} " \ 529&&ret =0 530;; 531(tlscreds ) 532_arguments "${_arguments_options[@]} " \ 533&&ret =0 534;; 535(move-pane-to-new-tab ) 536_arguments "${_arguments_options[@]} " \ 537&&ret =0 538;; 539(split-pane ) 540_arguments "${_arguments_options[@]} " \ 541&&ret =0 542;; 543(spawn ) 544_arguments "${_arguments_options[@]} " \ 545&&ret =0 546;; 547(send-text ) 548_arguments "${_arguments_options[@]} " \ 549&&ret =0 550;; 551(get-text ) 552_arguments "${_arguments_options[@]} " \ 553&&ret =0 554;; 555(activate-pane-direction ) 556_arguments "${_arguments_options[@]} " \ 557&&ret =0 558;; 559(get-pane-direction ) 560_arguments "${_arguments_options[@]} " \ 561&&ret =0 562;; 563(kill-pane ) 564_arguments "${_arguments_options[@]} " \ 565&&ret =0 566;; 567(activate-pane ) 568_arguments "${_arguments_options[@]} " \ 569&&ret =0 570;; 571(adjust-pane-size ) 572_arguments "${_arguments_options[@]} " \ 573&&ret =0 574;; 575(activate-tab ) 576_arguments "${_arguments_options[@]} " \ 577&&ret =0 578;; 579(set-tab-title ) 580_arguments "${_arguments_options[@]} " \ 581&&ret =0 582;; 583(set-window-title ) 584_arguments "${_arguments_options[@]} " \ 585&&ret =0 586;; 587(rename-workspace ) 588_arguments "${_arguments_options[@]} " \ 589&&ret =0 590;; 591(zoom-pane ) 592_arguments "${_arguments_options[@]} " \ 593&&ret =0 594;; 595esac 596 ;; 597esac 598;; 599(imgcat ) 600_arguments "${_arguments_options[@]} " \ 601&&ret =0 602;; 603(set-working-directory ) 604_arguments "${_arguments_options[@]} " \ 605&&ret =0 606;; 607(record ) 608_arguments "${_arguments_options[@]} " \ 609&&ret =0 610;; 611(replay ) 612_arguments "${_arguments_options[@]} " \ 613&&ret =0 614;; 615(shell-completion ) 616_arguments "${_arguments_options[@]} " \ 617&&ret =0 618;; 619(help ) 620_arguments "${_arguments_options[@]} " \ 621&&ret =0 622;; 623esac 624 ;; 625esac 626;; 627 esac 628 ;; 629esac 630} 631 632(( $+functions [_wezterm_commands ] )) || 633_wezterm_commands () { 634local commands ;commands =( 635'start:Start the GUI, optionally running an alternative program \[aliases\: -e\]' \ 636'blocking-start:Start the GUI in blocking mode. You shouldn'\''t see this, but you may see it in shell completions because of this open clap issue\: <https\://github.com/clap-rs/clap/issues/1335>' \ 637'ssh:Establish an ssh session' \ 638'serial:Open a serial port' \ 639'connect:Connect to wezterm multiplexer' \ 640'ls-fonts:Display information about fonts' \ 641'show-keys:Show key assignments' \ 642'cli:Interact with experimental mux server' \ 643'imgcat:Output an image to the terminal' \ 644'set-working-directory:Advise the terminal of the current working directory by emitting an OSC 7 escape sequence' \ 645'record:Record a terminal session as an asciicast' \ 646'replay:Replay an asciicast terminal session' \ 647'shell-completion:Generate shell completion information' \ 648'help:Print this message or the help of the given subcommand(s)' \ 649 ) 650_describe -t commands 'wezterm commands' commands "$@ " 651} 652(( $+functions [_wezterm__cli__activate-pane_commands ] )) || 653_wezterm__cli__activate-pane_commands () { 654local commands ;commands =() 655_describe -t commands 'wezterm cli activate-pane commands' commands "$@ " 656} 657(( $+functions [_wezterm__cli__help__activate-pane_commands ] )) || 658_wezterm__cli__help__activate-pane_commands () { 659local commands ;commands =() 660_describe -t commands 'wezterm cli help activate-pane commands' commands "$@ " 661} 662(( $+functions [_wezterm__help__cli__activate-pane_commands ] )) || 663_wezterm__help__cli__activate-pane_commands () { 664local commands ;commands =() 665_describe -t commands 'wezterm help cli activate-pane commands' commands "$@ " 666} 667(( $+functions [_wezterm__cli__activate-pane-direction_commands ] )) || 668_wezterm__cli__activate-pane-direction_commands () { 669local commands ;commands =() 670_describe -t commands 'wezterm cli activate-pane-direction commands' commands "$@ " 671} 672(( $+functions [_wezterm__cli__help__activate-pane-direction_commands ] )) || 673_wezterm__cli__help__activate-pane-direction_commands () { 674local commands ;commands =() 675_describe -t commands 'wezterm cli help activate-pane-direction commands' commands "$@ " 676} 677(( $+functions [_wezterm__help__cli__activate-pane-direction_commands ] )) || 678_wezterm__help__cli__activate-pane-direction_commands () { 679local commands ;commands =() 680_describe -t commands 'wezterm help cli activate-pane-direction commands' commands "$@ " 681} 682(( $+functions [_wezterm__cli__activate-tab_commands ] )) || 683_wezterm__cli__activate-tab_commands () { 684local commands ;commands =() 685_describe -t commands 'wezterm cli activate-tab commands' commands "$@ " 686} 687(( $+functions [_wezterm__cli__help__activate-tab_commands ] )) || 688_wezterm__cli__help__activate-tab_commands () { 689local commands ;commands =() 690_describe -t commands 'wezterm cli help activate-tab commands' commands "$@ " 691} 692(( $+functions [_wezterm__help__cli__activate-tab_commands ] )) || 693_wezterm__help__cli__activate-tab_commands () { 694local commands ;commands =() 695_describe -t commands 'wezterm help cli activate-tab commands' commands "$@ " 696} 697(( $+functions [_wezterm__cli__adjust-pane-size_commands ] )) || 698_wezterm__cli__adjust-pane-size_commands () { 699local commands ;commands =() 700_describe -t commands 'wezterm cli adjust-pane-size commands' commands "$@ " 701} 702(( $+functions [_wezterm__cli__help__adjust-pane-size_commands ] )) || 703_wezterm__cli__help__adjust-pane-size_commands () { 704local commands ;commands =() 705_describe -t commands 'wezterm cli help adjust-pane-size commands' commands "$@ " 706} 707(( $+functions [_wezterm__help__cli__adjust-pane-size_commands ] )) || 708_wezterm__help__cli__adjust-pane-size_commands () { 709local commands ;commands =() 710_describe -t commands 'wezterm help cli adjust-pane-size commands' commands "$@ " 711} 712(( $+functions [_wezterm__blocking-start_commands ] )) || 713_wezterm__blocking-start_commands () { 714local commands ;commands =() 715_describe -t commands 'wezterm blocking-start commands' commands "$@ " 716} 717(( $+functions [_wezterm__help__blocking-start_commands ] )) || 718_wezterm__help__blocking-start_commands () { 719local commands ;commands =() 720_describe -t commands 'wezterm help blocking-start commands' commands "$@ " 721} 722(( $+functions [_wezterm__cli_commands ] )) || 723_wezterm__cli_commands () { 724local commands ;commands =( 725'list:list windows, tabs and panes' \ 726'list-clients:list clients' \ 727'proxy:start rpc proxy pipe' \ 728'tlscreds:obtain tls credentials' \ 729'move-pane-to-new-tab:Move a pane into a new tab' \ 730'split-pane:split the current pane. 731Outputs the pane-id for the newly created pane on success' \ 732'spawn:Spawn a command into a new window or tab 733Outputs the pane-id for the newly created pane on success' \ 734'send-text:Send text to a pane as though it were pasted. If bracketed paste mode is enabled in the pane, then the text will be sent as a bracketed paste' \ 735'get-text:Retrieves the textual content of a pane and output it to stdout' \ 736'activate-pane-direction:Activate an adjacent pane in the specified direction' \ 737'get-pane-direction:Determine the adjacent pane in the specified direction' \ 738'kill-pane:Kill a pane' \ 739'activate-pane:Activate (focus) a pane' \ 740'adjust-pane-size:Adjust the size of a pane directionally' \ 741'activate-tab:Activate a tab' \ 742'set-tab-title:Change the title of a tab' \ 743'set-window-title:Change the title of a window' \ 744'rename-workspace:Rename a workspace' \ 745'zoom-pane:Zoom, unzoom, or toggle zoom state' \ 746'help:Print this message or the help of the given subcommand(s)' \ 747 ) 748_describe -t commands 'wezterm cli commands' commands "$@ " 749} 750(( $+functions [_wezterm__help__cli_commands ] )) || 751_wezterm__help__cli_commands () { 752local commands ;commands =( 753'list:list windows, tabs and panes' \ 754'list-clients:list clients' \ 755'proxy:start rpc proxy pipe' \ 756'tlscreds:obtain tls credentials' \ 757'move-pane-to-new-tab:Move a pane into a new tab' \ 758'split-pane:split the current pane. 759Outputs the pane-id for the newly created pane on success' \ 760'spawn:Spawn a command into a new window or tab 761Outputs the pane-id for the newly created pane on success' \ 762'send-text:Send text to a pane as though it were pasted. If bracketed paste mode is enabled in the pane, then the text will be sent as a bracketed paste' \ 763'get-text:Retrieves the textual content of a pane and output it to stdout' \ 764'activate-pane-direction:Activate an adjacent pane in the specified direction' \ 765'get-pane-direction:Determine the adjacent pane in the specified direction' \ 766'kill-pane:Kill a pane' \ 767'activate-pane:Activate (focus) a pane' \ 768'adjust-pane-size:Adjust the size of a pane directionally' \ 769'activate-tab:Activate a tab' \ 770'set-tab-title:Change the title of a tab' \ 771'set-window-title:Change the title of a window' \ 772'rename-workspace:Rename a workspace' \ 773'zoom-pane:Zoom, unzoom, or toggle zoom state' \ 774 ) 775_describe -t commands 'wezterm help cli commands' commands "$@ " 776} 777(( $+functions [_wezterm__connect_commands ] )) || 778_wezterm__connect_commands () { 779local commands ;commands =() 780_describe -t commands 'wezterm connect commands' commands "$@ " 781} 782(( $+functions [_wezterm__help__connect_commands ] )) || 783_wezterm__help__connect_commands () { 784local commands ;commands =() 785_describe -t commands 'wezterm help connect commands' commands "$@ " 786} 787(( $+functions [_wezterm__cli__get-pane-direction_commands ] )) || 788_wezterm__cli__get-pane-direction_commands () { 789local commands ;commands =() 790_describe -t commands 'wezterm cli get-pane-direction commands' commands "$@ " 791} 792(( $+functions [_wezterm__cli__help__get-pane-direction_commands ] )) || 793_wezterm__cli__help__get-pane-direction_commands () { 794local commands ;commands =() 795_describe -t commands 'wezterm cli help get-pane-direction commands' commands "$@ " 796} 797(( $+functions [_wezterm__help__cli__get-pane-direction_commands ] )) || 798_wezterm__help__cli__get-pane-direction_commands () { 799local commands ;commands =() 800_describe -t commands 'wezterm help cli get-pane-direction commands' commands "$@ " 801} 802(( $+functions [_wezterm__cli__get-text_commands ] )) || 803_wezterm__cli__get-text_commands () { 804local commands ;commands =() 805_describe -t commands 'wezterm cli get-text commands' commands "$@ " 806} 807(( $+functions [_wezterm__cli__help__get-text_commands ] )) || 808_wezterm__cli__help__get-text_commands () { 809local commands ;commands =() 810_describe -t commands 'wezterm cli help get-text commands' commands "$@ " 811} 812(( $+functions [_wezterm__help__cli__get-text_commands ] )) || 813_wezterm__help__cli__get-text_commands () { 814local commands ;commands =() 815_describe -t commands 'wezterm help cli get-text commands' commands "$@ " 816} 817(( $+functions [_wezterm__cli__help_commands ] )) || 818_wezterm__cli__help_commands () { 819local commands ;commands =( 820'list:list windows, tabs and panes' \ 821'list-clients:list clients' \ 822'proxy:start rpc proxy pipe' \ 823'tlscreds:obtain tls credentials' \ 824'move-pane-to-new-tab:Move a pane into a new tab' \ 825'split-pane:split the current pane. 826Outputs the pane-id for the newly created pane on success' \ 827'spawn:Spawn a command into a new window or tab 828Outputs the pane-id for the newly created pane on success' \ 829'send-text:Send text to a pane as though it were pasted. If bracketed paste mode is enabled in the pane, then the text will be sent as a bracketed paste' \ 830'get-text:Retrieves the textual content of a pane and output it to stdout' \ 831'activate-pane-direction:Activate an adjacent pane in the specified direction' \ 832'get-pane-direction:Determine the adjacent pane in the specified direction' \ 833'kill-pane:Kill a pane' \ 834'activate-pane:Activate (focus) a pane' \ 835'adjust-pane-size:Adjust the size of a pane directionally' \ 836'activate-tab:Activate a tab' \ 837'set-tab-title:Change the title of a tab' \ 838'set-window-title:Change the title of a window' \ 839'rename-workspace:Rename a workspace' \ 840'zoom-pane:Zoom, unzoom, or toggle zoom state' \ 841'help:Print this message or the help of the given subcommand(s)' \ 842 ) 843_describe -t commands 'wezterm cli help commands' commands "$@ " 844} 845(( $+functions [_wezterm__cli__help__help_commands ] )) || 846_wezterm__cli__help__help_commands () { 847local commands ;commands =() 848_describe -t commands 'wezterm cli help help commands' commands "$@ " 849} 850(( $+functions [_wezterm__help_commands ] )) || 851_wezterm__help_commands () { 852local commands ;commands =( 853'start:Start the GUI, optionally running an alternative program \[aliases\: -e\]' \ 854'blocking-start:Start the GUI in blocking mode. You shouldn'\''t see this, but you may see it in shell completions because of this open clap issue\: <https\://github.com/clap-rs/clap/issues/1335>' \ 855'ssh:Establish an ssh session' \ 856'serial:Open a serial port' \ 857'connect:Connect to wezterm multiplexer' \ 858'ls-fonts:Display information about fonts' \ 859'show-keys:Show key assignments' \ 860'cli:Interact with experimental mux server' \ 861'imgcat:Output an image to the terminal' \ 862'set-working-directory:Advise the terminal of the current working directory by emitting an OSC 7 escape sequence' \ 863'record:Record a terminal session as an asciicast' \ 864'replay:Replay an asciicast terminal session' \ 865'shell-completion:Generate shell completion information' \ 866'help:Print this message or the help of the given subcommand(s)' \ 867 ) 868_describe -t commands 'wezterm help commands' commands "$@ " 869} 870(( $+functions [_wezterm__help__help_commands ] )) || 871_wezterm__help__help_commands () { 872local commands ;commands =() 873_describe -t commands 'wezterm help help commands' commands "$@ " 874} 875(( $+functions [_wezterm__help__imgcat_commands ] )) || 876_wezterm__help__imgcat_commands () { 877local commands ;commands =() 878_describe -t commands 'wezterm help imgcat commands' commands "$@ " 879} 880(( $+functions [_wezterm__imgcat_commands ] )) || 881_wezterm__imgcat_commands () { 882local commands ;commands =() 883_describe -t commands 'wezterm imgcat commands' commands "$@ " 884} 885(( $+functions [_wezterm__cli__help__kill-pane_commands ] )) || 886_wezterm__cli__help__kill-pane_commands () { 887local commands ;commands =() 888_describe -t commands 'wezterm cli help kill-pane commands' commands "$@ " 889} 890(( $+functions [_wezterm__cli__kill-pane_commands ] )) || 891_wezterm__cli__kill-pane_commands () { 892local commands ;commands =() 893_describe -t commands 'wezterm cli kill-pane commands' commands "$@ " 894} 895(( $+functions [_wezterm__help__cli__kill-pane_commands ] )) || 896_wezterm__help__cli__kill-pane_commands () { 897local commands ;commands =() 898_describe -t commands 'wezterm help cli kill-pane commands' commands "$@ " 899} 900(( $+functions [_wezterm__cli__help__list_commands ] )) || 901_wezterm__cli__help__list_commands () { 902local commands ;commands =() 903_describe -t commands 'wezterm cli help list commands' commands "$@ " 904} 905(( $+functions [_wezterm__cli__list_commands ] )) || 906_wezterm__cli__list_commands () { 907local commands ;commands =() 908_describe -t commands 'wezterm cli list commands' commands "$@ " 909} 910(( $+functions [_wezterm__help__cli__list_commands ] )) || 911_wezterm__help__cli__list_commands () { 912local commands ;commands =() 913_describe -t commands 'wezterm help cli list commands' commands "$@ " 914} 915(( $+functions [_wezterm__cli__help__list-clients_commands ] )) || 916_wezterm__cli__help__list-clients_commands () { 917local commands ;commands =() 918_describe -t commands 'wezterm cli help list-clients commands' commands "$@ " 919} 920(( $+functions [_wezterm__cli__list-clients_commands ] )) || 921_wezterm__cli__list-clients_commands () { 922local commands ;commands =() 923_describe -t commands 'wezterm cli list-clients commands' commands "$@ " 924} 925(( $+functions [_wezterm__help__cli__list-clients_commands ] )) || 926_wezterm__help__cli__list-clients_commands () { 927local commands ;commands =() 928_describe -t commands 'wezterm help cli list-clients commands' commands "$@ " 929} 930(( $+functions [_wezterm__help__ls-fonts_commands ] )) || 931_wezterm__help__ls-fonts_commands () { 932local commands ;commands =() 933_describe -t commands 'wezterm help ls-fonts commands' commands "$@ " 934} 935(( $+functions [_wezterm__ls-fonts_commands ] )) || 936_wezterm__ls-fonts_commands () { 937local commands ;commands =() 938_describe -t commands 'wezterm ls-fonts commands' commands "$@ " 939} 940(( $+functions [_wezterm__cli__help__move-pane-to-new-tab_commands ] )) || 941_wezterm__cli__help__move-pane-to-new-tab_commands () { 942local commands ;commands =() 943_describe -t commands 'wezterm cli help move-pane-to-new-tab commands' commands "$@ " 944} 945(( $+functions [_wezterm__cli__move-pane-to-new-tab_commands ] )) || 946_wezterm__cli__move-pane-to-new-tab_commands () { 947local commands ;commands =() 948_describe -t commands 'wezterm cli move-pane-to-new-tab commands' commands "$@ " 949} 950(( $+functions [_wezterm__help__cli__move-pane-to-new-tab_commands ] )) || 951_wezterm__help__cli__move-pane-to-new-tab_commands () { 952local commands ;commands =() 953_describe -t commands 'wezterm help cli move-pane-to-new-tab commands' commands "$@ " 954} 955(( $+functions [_wezterm__cli__help__proxy_commands ] )) || 956_wezterm__cli__help__proxy_commands () { 957local commands ;commands =() 958_describe -t commands 'wezterm cli help proxy commands' commands "$@ " 959} 960(( $+functions [_wezterm__cli__proxy_commands ] )) || 961_wezterm__cli__proxy_commands () { 962local commands ;commands =() 963_describe -t commands 'wezterm cli proxy commands' commands "$@ " 964} 965(( $+functions [_wezterm__help__cli__proxy_commands ] )) || 966_wezterm__help__cli__proxy_commands () { 967local commands ;commands =() 968_describe -t commands 'wezterm help cli proxy commands' commands "$@ " 969} 970(( $+functions [_wezterm__help__record_commands ] )) || 971_wezterm__help__record_commands () { 972local commands ;commands =() 973_describe -t commands 'wezterm help record commands' commands "$@ " 974} 975(( $+functions [_wezterm__record_commands ] )) || 976_wezterm__record_commands () { 977local commands ;commands =() 978_describe -t commands 'wezterm record commands' commands "$@ " 979} 980(( $+functions [_wezterm__cli__help__rename-workspace_commands ] )) || 981_wezterm__cli__help__rename-workspace_commands () { 982local commands ;commands =() 983_describe -t commands 'wezterm cli help rename-workspace commands' commands "$@ " 984} 985(( $+functions [_wezterm__cli__rename-workspace_commands ] )) || 986_wezterm__cli__rename-workspace_commands () { 987local commands ;commands =() 988_describe -t commands 'wezterm cli rename-workspace commands' commands "$@ " 989} 990(( $+functions [_wezterm__help__cli__rename-workspace_commands ] )) || 991_wezterm__help__cli__rename-workspace_commands () { 992local commands ;commands =() 993_describe -t commands 'wezterm help cli rename-workspace commands' commands "$@ " 994} 995(( $+functions [_wezterm__help__replay_commands ] )) || 996_wezterm__help__replay_commands () { 997local commands ;commands =() 998_describe -t commands 'wezterm help replay commands' commands "$@ " 999} 1000(( $+functions [_wezterm__replay_commands ] )) || 1001_wezterm__replay_commands () { 1002local commands ;commands =() 1003_describe -t commands 'wezterm replay commands' commands "$@ " 1004} 1005(( $+functions [_wezterm__cli__help__send-text_commands ] )) || 1006_wezterm__cli__help__send-text_commands () { 1007local commands ;commands =() 1008_describe -t commands 'wezterm cli help send-text commands' commands "$@ " 1009} 1010(( $+functions [_wezterm__cli__send-text_commands ] )) || 1011_wezterm__cli__send-text_commands () { 1012local commands ;commands =() 1013_describe -t commands 'wezterm cli send-text commands' commands "$@ " 1014} 1015(( $+functions [_wezterm__help__cli__send-text_commands ] )) || 1016_wezterm__help__cli__send-text_commands () { 1017local commands ;commands =() 1018_describe -t commands 'wezterm help cli send-text commands' commands "$@ " 1019} 1020(( $+functions [_wezterm__help__serial_commands ] )) || 1021_wezterm__help__serial_commands () { 1022local commands ;commands =() 1023_describe -t commands 'wezterm help serial commands' commands "$@ " 1024} 1025(( $+functions [_wezterm__serial_commands ] )) || 1026_wezterm__serial_commands () { 1027local commands ;commands =() 1028_describe -t commands 'wezterm serial commands' commands "$@ " 1029} 1030(( $+functions [_wezterm__cli__help__set-tab-title_commands ] )) || 1031_wezterm__cli__help__set-tab-title_commands () { 1032local commands ;commands =() 1033_describe -t commands 'wezterm cli help set-tab-title commands' commands "$@ " 1034} 1035(( $+functions [_wezterm__cli__set-tab-title_commands ] )) || 1036_wezterm__cli__set-tab-title_commands () { 1037local commands ;commands =() 1038_describe -t commands 'wezterm cli set-tab-title commands' commands "$@ " 1039} 1040(( $+functions [_wezterm__help__cli__set-tab-title_commands ] )) || 1041_wezterm__help__cli__set-tab-title_commands () { 1042local commands ;commands =() 1043_describe -t commands 'wezterm help cli set-tab-title commands' commands "$@ " 1044} 1045(( $+functions [_wezterm__cli__help__set-window-title_commands ] )) || 1046_wezterm__cli__help__set-window-title_commands () { 1047local commands ;commands =() 1048_describe -t commands 'wezterm cli help set-window-title commands' commands "$@ " 1049} 1050(( $+functions [_wezterm__cli__set-window-title_commands ] )) || 1051_wezterm__cli__set-window-title_commands () { 1052local commands ;commands =() 1053_describe -t commands 'wezterm cli set-window-title commands' commands "$@ " 1054} 1055(( $+functions [_wezterm__help__cli__set-window-title_commands ] )) || 1056_wezterm__help__cli__set-window-title_commands () { 1057local commands ;commands =() 1058_describe -t commands 'wezterm help cli set-window-title commands' commands "$@ " 1059} 1060(( $+functions [_wezterm__help__set-working-directory_commands ] )) || 1061_wezterm__help__set-working-directory_commands () { 1062local commands ;commands =() 1063_describe -t commands 'wezterm help set-working-directory commands' commands "$@ " 1064} 1065(( $+functions [_wezterm__set-working-directory_commands ] )) || 1066_wezterm__set-working-directory_commands () { 1067local commands ;commands =() 1068_describe -t commands 'wezterm set-working-directory commands' commands "$@ " 1069} 1070(( $+functions [_wezterm__help__shell-completion_commands ] )) || 1071_wezterm__help__shell-completion_commands () { 1072local commands ;commands =() 1073_describe -t commands 'wezterm help shell-completion commands' commands "$@ " 1074} 1075(( $+functions [_wezterm__shell-completion_commands ] )) || 1076_wezterm__shell-completion_commands () { 1077local commands ;commands =() 1078_describe -t commands 'wezterm shell-completion commands' commands "$@ " 1079} 1080(( $+functions [_wezterm__help__show-keys_commands ] )) || 1081_wezterm__help__show-keys_commands () { 1082local commands ;commands =() 1083_describe -t commands 'wezterm help show-keys commands' commands "$@ " 1084} 1085(( $+functions [_wezterm__show-keys_commands ] )) || 1086_wezterm__show-keys_commands () { 1087local commands ;commands =() 1088_describe -t commands 'wezterm show-keys commands' commands "$@ " 1089} 1090(( $+functions [_wezterm__cli__help__spawn_commands ] )) || 1091_wezterm__cli__help__spawn_commands () { 1092local commands ;commands =() 1093_describe -t commands 'wezterm cli help spawn commands' commands "$@ " 1094} 1095(( $+functions [_wezterm__cli__spawn_commands ] )) || 1096_wezterm__cli__spawn_commands () { 1097local commands ;commands =() 1098_describe -t commands 'wezterm cli spawn commands' commands "$@ " 1099} 1100(( $+functions [_wezterm__help__cli__spawn_commands ] )) || 1101_wezterm__help__cli__spawn_commands () { 1102local commands ;commands =() 1103_describe -t commands 'wezterm help cli spawn commands' commands "$@ " 1104} 1105(( $+functions [_wezterm__cli__help__split-pane_commands ] )) || 1106_wezterm__cli__help__split-pane_commands () { 1107local commands ;commands =() 1108_describe -t commands 'wezterm cli help split-pane commands' commands "$@ " 1109} 1110(( $+functions [_wezterm__cli__split-pane_commands ] )) || 1111_wezterm__cli__split-pane_commands () { 1112local commands ;commands =() 1113_describe -t commands 'wezterm cli split-pane commands' commands "$@ " 1114} 1115(( $+functions [_wezterm__help__cli__split-pane_commands ] )) || 1116_wezterm__help__cli__split-pane_commands () { 1117local commands ;commands =() 1118_describe -t commands 'wezterm help cli split-pane commands' commands "$@ " 1119} 1120(( $+functions [_wezterm__help__ssh_commands ] )) || 1121_wezterm__help__ssh_commands () { 1122local commands ;commands =() 1123_describe -t commands 'wezterm help ssh commands' commands "$@ " 1124} 1125(( $+functions [_wezterm__ssh_commands ] )) || 1126_wezterm__ssh_commands () { 1127local commands ;commands =() 1128_describe -t commands 'wezterm ssh commands' commands "$@ " 1129} 1130(( $+functions [_wezterm__help__start_commands ] )) || 1131_wezterm__help__start_commands () { 1132local commands ;commands =() 1133_describe -t commands 'wezterm help start commands' commands "$@ " 1134} 1135(( $+functions [_wezterm__start_commands ] )) || 1136_wezterm__start_commands () { 1137local commands ;commands =() 1138_describe -t commands 'wezterm start commands' commands "$@ " 1139} 1140(( $+functions [_wezterm__cli__help__tlscreds_commands ] )) || 1141_wezterm__cli__help__tlscreds_commands () { 1142local commands ;commands =() 1143_describe -t commands 'wezterm cli help tlscreds commands' commands "$@ " 1144} 1145(( $+functions [_wezterm__cli__tlscreds_commands ] )) || 1146_wezterm__cli__tlscreds_commands () { 1147local commands ;commands =() 1148_describe -t commands 'wezterm cli tlscreds commands' commands "$@ " 1149} 1150(( $+functions [_wezterm__help__cli__tlscreds_commands ] )) || 1151_wezterm__help__cli__tlscreds_commands () { 1152local commands ;commands =() 1153_describe -t commands 'wezterm help cli tlscreds commands' commands "$@ " 1154} 1155(( $+functions [_wezterm__cli__help__zoom-pane_commands ] )) || 1156_wezterm__cli__help__zoom-pane_commands () { 1157local commands ;commands =() 1158_describe -t commands 'wezterm cli help zoom-pane commands' commands "$@ " 1159} 1160(( $+functions [_wezterm__cli__zoom-pane_commands ] )) || 1161_wezterm__cli__zoom-pane_commands () { 1162local commands ;commands =() 1163_describe -t commands 'wezterm cli zoom-pane commands' commands "$@ " 1164} 1165(( $+functions [_wezterm__help__cli__zoom-pane_commands ] )) || 1166_wezterm__help__cli__zoom-pane_commands () { 1167local commands ;commands =() 1168_describe -t commands 'wezterm help cli zoom-pane commands' commands "$@" 1169} 1170 1171if [ " $funcstack[1]" = "_wezterm" ]; then 1172_wezterm " $@ " 1173else 1174 compdef _wezterm wezterm 1175fi