Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

Make ThinkTerm the canonical CLI

RoversXe531dbf815f1
diff --git a/.github/workflows/thinkterm-windows-x64-portable.yml b/.github/workflows/thinkterm-windows-x64-portable.yml
index 2327d5de..7a56d434 100644
--- a/.github/workflows/thinkterm-windows-x64-portable.yml
+++ b/.github/workflows/thinkterm-windows-x64-portable.yml
@@ -44,11 +44,16 @@ jobs:
New-Item -ItemType Directory -Path $package | Out-Null
New-Item -ItemType Directory -Path "$package\mesa" | Out-Null
+ Copy-Item target\release\thinkterm.exe $package\
Copy-Item target\release\wezterm.exe $package\
Copy-Item target\release\wezterm-gui.exe $package\
Copy-Item target\release\wezterm-mux-server.exe $package\
Copy-Item target\release\strip-ansi-escapes.exe $package\
+ if (Test-Path target\release\thinkterm.pdb) {
+ Copy-Item target\release\thinkterm.pdb $package\
+ }
+
if (Test-Path target\release\wezterm.pdb) {
Copy-Item target\release\wezterm.pdb $package\
}
diff --git a/assets/flatpak/com.roversx.thinkterm.json b/assets/flatpak/com.roversx.thinkterm.json
index 7b49e1ee..7911bdf0 100644
--- a/assets/flatpak/com.roversx.thinkterm.json
+++ b/assets/flatpak/com.roversx.thinkterm.json
@@ -6,7 +6,7 @@
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
- "command": "wezterm",
+ "command": "thinkterm",
"finish-args": [
"--share=ipc",
"--filesystem=home:ro",
@@ -40,13 +40,17 @@
"cp ./assets/wezterm.appdata.xml /app/share/metainfo/com.roversx.thinkterm.appdata.xml",
"mkdir -p /app/share/applications/",
"cp ./assets/wezterm.desktop /app/share/applications/com.roversx.thinkterm.desktop",
+ "install -Dm755 ./target/release/thinkterm -t /app/bin/",
"install -Dm755 ./target/release/wezterm -t /app/bin/",
"install -Dm755 ./target/release/wezterm-gui -t /app/bin/",
"install -Dm755 ./target/release/wezterm-mux-server -t /app/bin/",
"install -Dm755 ./target/release/strip-ansi-escapes -t /app/bin/",
"install -Dm644 assets/shell-integration/* -t /app/extra/export/share/etc/profile.d",
- "install -Dm644 assets/shell-completion/zsh /app/extra/export/share/zsh/site-functions/_wezterm",
- "install -Dm644 assets/shell-completion/bash /app/extra/export/share/etc/bash_completion.d/wezterm"
+ "install -Dm644 assets/shell-completion/zsh /app/extra/export/share/zsh/site-functions/_thinkterm",
+ "install -Dm644 assets/shell-completion/bash /app/extra/export/share/etc/bash_completion.d/thinkterm",
+ "install -Dm644 assets/shell-completion/fish /app/extra/export/share/fish/vendor_completions.d/thinkterm.fish",
+ "ln -s thinkterm /app/extra/export/share/etc/bash_completion.d/wezterm",
+ "ln -s thinkterm.fish /app/extra/export/share/fish/vendor_completions.d/wezterm.fish"
],
"sources": [
{
diff --git a/assets/flatpak/com.roversx.thinkterm.template.json b/assets/flatpak/com.roversx.thinkterm.template.json
index d0d8905c..8916784a 100644
--- a/assets/flatpak/com.roversx.thinkterm.template.json
+++ b/assets/flatpak/com.roversx.thinkterm.template.json
@@ -6,7 +6,7 @@
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
- "command": "wezterm",
+ "command": "thinkterm",
"finish-args": [
"--share=ipc",
"--filesystem=home:ro",
@@ -35,13 +35,17 @@
"install -Dm644 ./assets/icon/terminal.png /app/share/icons/hicolor/128x128/apps/com.roversx.thinkterm.png",
"install -Dm644 com.roversx.thinkterm.appdata.xml /app/share/metainfo/com.roversx.thinkterm.appdata.xml",
"install -Dm644 ./assets/wezterm.desktop /app/share/applications/com.roversx.thinkterm.desktop",
+ "install -Dm755 ./target/release/thinkterm -t /app/bin/",
"install -Dm755 ./target/release/wezterm -t /app/bin/",
"install -Dm755 ./target/release/wezterm-gui -t /app/bin/",
"install -Dm755 ./target/release/wezterm-mux-server -t /app/bin/",
"install -Dm755 ./target/release/strip-ansi-escapes -t /app/bin/",
"install -Dm644 assets/shell-integration/* -t /app/extra/export/share/etc/profile.d",
- "install -Dm644 assets/shell-completion/zsh /app/extra/export/share/zsh/site-functions/_wezterm",
- "install -Dm644 assets/shell-completion/bash /app/extra/export/share/etc/bash_completion.d/wezterm"
+ "install -Dm644 assets/shell-completion/zsh /app/extra/export/share/zsh/site-functions/_thinkterm",
+ "install -Dm644 assets/shell-completion/bash /app/extra/export/share/etc/bash_completion.d/thinkterm",
+ "install -Dm644 assets/shell-completion/fish /app/extra/export/share/fish/vendor_completions.d/thinkterm.fish",
+ "ln -s thinkterm /app/extra/export/share/etc/bash_completion.d/wezterm",
+ "ln -s thinkterm.fish /app/extra/export/share/fish/vendor_completions.d/wezterm.fish"
],
"sources": [
{
diff --git a/assets/open-thinkterm-here b/assets/open-thinkterm-here
new file mode 100755
index 00000000..06fa6a5c
--- /dev/null
+++ b/assets/open-thinkterm-here
@@ -0,0 +1,5 @@
+#!/bin/sh
+# This script is a helper that starts a new terminal window
+# in the cwd of the calling process, rather than using the
+# default cwd which is usually the home directory.
+exec thinkterm start --cwd "$PWD" -- "$@"
diff --git a/assets/open-wezterm-here b/assets/open-wezterm-here
index c6104e38..06fa6a5c 100755
--- a/assets/open-wezterm-here
+++ b/assets/open-wezterm-here
@@ -2,4 +2,4 @@
# This script is a helper that starts a new terminal window
# in the cwd of the calling process, rather than using the
# default cwd which is usually the home directory.
-exec wezterm start --cwd "$PWD" -- "$@"
+exec thinkterm start --cwd "$PWD" -- "$@"
diff --git a/assets/shell-completion/bash b/assets/shell-completion/bash
index 55399c3f..5c95494d 100644
--- a/assets/shell-completion/bash
+++ b/assets/shell-completion/bash
@@ -1,277 +1,281 @@
-_wezterm() {
+_thinkterm() {
local i cur prev opts cmd
COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
+ if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
+ cur="$2"
+ else
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ fi
+ prev="$3"
cmd=""
opts=""
- for i in ${COMP_WORDS[@]}
+ for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
do
case "${cmd},${i}" in
",$1")
- cmd="wezterm"
+ cmd="thinkterm"
;;
- wezterm,blocking-start)
- cmd="wezterm__blocking__start"
+ thinkterm,blocking-start)
+ cmd="thinkterm__blocking__start"
;;
- wezterm,cli)
- cmd="wezterm__cli"
+ thinkterm,cli)
+ cmd="thinkterm__cli"
;;
- wezterm,connect)
- cmd="wezterm__connect"
+ thinkterm,connect)
+ cmd="thinkterm__connect"
;;
- wezterm,help)
- cmd="wezterm__help"
+ thinkterm,help)
+ cmd="thinkterm__help"
;;
- wezterm,imgcat)
- cmd="wezterm__imgcat"
+ thinkterm,imgcat)
+ cmd="thinkterm__imgcat"
;;
- wezterm,ls-fonts)
- cmd="wezterm__ls__fonts"
+ thinkterm,ls-fonts)
+ cmd="thinkterm__ls__fonts"
;;
- wezterm,record)
- cmd="wezterm__record"
+ thinkterm,record)
+ cmd="thinkterm__record"
;;
- wezterm,replay)
- cmd="wezterm__replay"
+ thinkterm,replay)
+ cmd="thinkterm__replay"
;;
- wezterm,serial)
- cmd="wezterm__serial"
+ thinkterm,serial)
+ cmd="thinkterm__serial"
;;
- wezterm,set-working-directory)
- cmd="wezterm__set__working__directory"
+ thinkterm,set-working-directory)
+ cmd="thinkterm__set__working__directory"
;;
- wezterm,shell-completion)
- cmd="wezterm__shell__completion"
+ thinkterm,shell-completion)
+ cmd="thinkterm__shell__completion"
;;
- wezterm,show-keys)
- cmd="wezterm__show__keys"
+ thinkterm,show-keys)
+ cmd="thinkterm__show__keys"
;;
- wezterm,ssh)
- cmd="wezterm__ssh"
+ thinkterm,ssh)
+ cmd="thinkterm__ssh"
;;
- wezterm,start)
- cmd="wezterm__start"
+ thinkterm,start)
+ cmd="thinkterm__start"
;;
- wezterm__cli,activate-pane)
- cmd="wezterm__cli__activate__pane"
+ thinkterm__cli,activate-pane)
+ cmd="thinkterm__cli__activate__pane"
;;
- wezterm__cli,activate-pane-direction)
- cmd="wezterm__cli__activate__pane__direction"
+ thinkterm__cli,activate-pane-direction)
+ cmd="thinkterm__cli__activate__pane__direction"
;;
- wezterm__cli,activate-tab)
- cmd="wezterm__cli__activate__tab"
+ thinkterm__cli,activate-tab)
+ cmd="thinkterm__cli__activate__tab"
;;
- wezterm__cli,adjust-pane-size)
- cmd="wezterm__cli__adjust__pane__size"
+ thinkterm__cli,adjust-pane-size)
+ cmd="thinkterm__cli__adjust__pane__size"
;;
- wezterm__cli,get-pane-direction)
- cmd="wezterm__cli__get__pane__direction"
+ thinkterm__cli,get-pane-direction)
+ cmd="thinkterm__cli__get__pane__direction"
;;
- wezterm__cli,get-text)
- cmd="wezterm__cli__get__text"
+ thinkterm__cli,get-text)
+ cmd="thinkterm__cli__get__text"
;;
- wezterm__cli,help)
- cmd="wezterm__cli__help"
+ thinkterm__cli,help)
+ cmd="thinkterm__cli__help"
;;
- wezterm__cli,kill-pane)
- cmd="wezterm__cli__kill__pane"
+ thinkterm__cli,kill-pane)
+ cmd="thinkterm__cli__kill__pane"
;;
- wezterm__cli,list)
- cmd="wezterm__cli__list"
+ thinkterm__cli,list)
+ cmd="thinkterm__cli__list"
;;
- wezterm__cli,list-clients)
- cmd="wezterm__cli__list__clients"
+ thinkterm__cli,list-clients)
+ cmd="thinkterm__cli__list__clients"
;;
- wezterm__cli,move-pane-to-new-tab)
- cmd="wezterm__cli__move__pane__to__new__tab"
+ thinkterm__cli,move-pane-to-new-tab)
+ cmd="thinkterm__cli__move__pane__to__new__tab"
;;
- wezterm__cli,proxy)
- cmd="wezterm__cli__proxy"
+ thinkterm__cli,proxy)
+ cmd="thinkterm__cli__proxy"
;;
- wezterm__cli,rename-workspace)
- cmd="wezterm__cli__rename__workspace"
+ thinkterm__cli,rename-workspace)
+ cmd="thinkterm__cli__rename__workspace"
;;
- wezterm__cli,send-text)
- cmd="wezterm__cli__send__text"
+ thinkterm__cli,send-text)
+ cmd="thinkterm__cli__send__text"
;;
- wezterm__cli,set-tab-title)
- cmd="wezterm__cli__set__tab__title"
+ thinkterm__cli,set-tab-title)
+ cmd="thinkterm__cli__set__tab__title"
;;
- wezterm__cli,set-window-title)
- cmd="wezterm__cli__set__window__title"
+ thinkterm__cli,set-window-title)
+ cmd="thinkterm__cli__set__window__title"
;;
- wezterm__cli,spawn)
- cmd="wezterm__cli__spawn"
+ thinkterm__cli,spawn)
+ cmd="thinkterm__cli__spawn"
;;
- wezterm__cli,split-pane)
- cmd="wezterm__cli__split__pane"
+ thinkterm__cli,split-pane)
+ cmd="thinkterm__cli__split__pane"
;;
- wezterm__cli,tlscreds)
- cmd="wezterm__cli__tlscreds"
+ thinkterm__cli,tlscreds)
+ cmd="thinkterm__cli__tlscreds"
;;
- wezterm__cli,zoom-pane)
- cmd="wezterm__cli__zoom__pane"
+ thinkterm__cli,zoom-pane)
+ cmd="thinkterm__cli__zoom__pane"
;;
- wezterm__cli__help,activate-pane)
- cmd="wezterm__cli__help__activate__pane"
+ thinkterm__cli__help,activate-pane)
+ cmd="thinkterm__cli__help__activate__pane"
;;
- wezterm__cli__help,activate-pane-direction)
- cmd="wezterm__cli__help__activate__pane__direction"
+ thinkterm__cli__help,activate-pane-direction)
+ cmd="thinkterm__cli__help__activate__pane__direction"
;;
- wezterm__cli__help,activate-tab)
- cmd="wezterm__cli__help__activate__tab"
+ thinkterm__cli__help,activate-tab)
+ cmd="thinkterm__cli__help__activate__tab"
;;
- wezterm__cli__help,adjust-pane-size)
- cmd="wezterm__cli__help__adjust__pane__size"
+ thinkterm__cli__help,adjust-pane-size)
+ cmd="thinkterm__cli__help__adjust__pane__size"
;;
- wezterm__cli__help,get-pane-direction)
- cmd="wezterm__cli__help__get__pane__direction"
+ thinkterm__cli__help,get-pane-direction)
+ cmd="thinkterm__cli__help__get__pane__direction"
;;
- wezterm__cli__help,get-text)
- cmd="wezterm__cli__help__get__text"
+ thinkterm__cli__help,get-text)
+ cmd="thinkterm__cli__help__get__text"
;;
- wezterm__cli__help,help)
- cmd="wezterm__cli__help__help"
+ thinkterm__cli__help,help)
+ cmd="thinkterm__cli__help__help"
;;
- wezterm__cli__help,kill-pane)
- cmd="wezterm__cli__help__kill__pane"
+ thinkterm__cli__help,kill-pane)
+ cmd="thinkterm__cli__help__kill__pane"
;;
- wezterm__cli__help,list)
- cmd="wezterm__cli__help__list"
+ thinkterm__cli__help,list)
+ cmd="thinkterm__cli__help__list"
;;
- wezterm__cli__help,list-clients)
- cmd="wezterm__cli__help__list__clients"
+ thinkterm__cli__help,list-clients)
+ cmd="thinkterm__cli__help__list__clients"
;;
- wezterm__cli__help,move-pane-to-new-tab)
- cmd="wezterm__cli__help__move__pane__to__new__tab"
+ thinkterm__cli__help,move-pane-to-new-tab)
+ cmd="thinkterm__cli__help__move__pane__to__new__tab"
;;
- wezterm__cli__help,proxy)
- cmd="wezterm__cli__help__proxy"
+ thinkterm__cli__help,proxy)
+ cmd="thinkterm__cli__help__proxy"
;;
- wezterm__cli__help,rename-workspace)
- cmd="wezterm__cli__help__rename__workspace"
+ thinkterm__cli__help,rename-workspace)
+ cmd="thinkterm__cli__help__rename__workspace"
;;
- wezterm__cli__help,send-text)
- cmd="wezterm__cli__help__send__text"
+ thinkterm__cli__help,send-text)
+ cmd="thinkterm__cli__help__send__text"
;;
- wezterm__cli__help,set-tab-title)
- cmd="wezterm__cli__help__set__tab__title"
+ thinkterm__cli__help,set-tab-title)
+ cmd="thinkterm__cli__help__set__tab__title"
;;
- wezterm__cli__help,set-window-title)
- cmd="wezterm__cli__help__set__window__title"
+ thinkterm__cli__help,set-window-title)
+ cmd="thinkterm__cli__help__set__window__title"
;;
- wezterm__cli__help,spawn)
- cmd="wezterm__cli__help__spawn"
+ thinkterm__cli__help,spawn)
+ cmd="thinkterm__cli__help__spawn"
;;
- wezterm__cli__help,split-pane)
- cmd="wezterm__cli__help__split__pane"
+ thinkterm__cli__help,split-pane)
+ cmd="thinkterm__cli__help__split__pane"
;;
- wezterm__cli__help,tlscreds)
- cmd="wezterm__cli__help__tlscreds"
+ thinkterm__cli__help,tlscreds)
+ cmd="thinkterm__cli__help__tlscreds"
;;
- wezterm__cli__help,zoom-pane)
- cmd="wezterm__cli__help__zoom__pane"
+ thinkterm__cli__help,zoom-pane)
+ cmd="thinkterm__cli__help__zoom__pane"
;;
- wezterm__help,blocking-start)
- cmd="wezterm__help__blocking__start"
+ thinkterm__help,blocking-start)
+ cmd="thinkterm__help__blocking__start"
;;
- wezterm__help,cli)
- cmd="wezterm__help__cli"
+ thinkterm__help,cli)
+ cmd="thinkterm__help__cli"
;;
- wezterm__help,connect)
- cmd="wezterm__help__connect"
+ thinkterm__help,connect)
+ cmd="thinkterm__help__connect"
;;
- wezterm__help,help)
- cmd="wezterm__help__help"
+ thinkterm__help,help)
+ cmd="thinkterm__help__help"
;;
- wezterm__help,imgcat)
- cmd="wezterm__help__imgcat"
+ thinkterm__help,imgcat)
+ cmd="thinkterm__help__imgcat"
;;
- wezterm__help,ls-fonts)
- cmd="wezterm__help__ls__fonts"
+ thinkterm__help,ls-fonts)
+ cmd="thinkterm__help__ls__fonts"
;;
- wezterm__help,record)
- cmd="wezterm__help__record"
+ thinkterm__help,record)
+ cmd="thinkterm__help__record"
;;
- wezterm__help,replay)
- cmd="wezterm__help__replay"
+ thinkterm__help,replay)
+ cmd="thinkterm__help__replay"
;;
- wezterm__help,serial)
- cmd="wezterm__help__serial"
+ thinkterm__help,serial)
+ cmd="thinkterm__help__serial"
;;
- wezterm__help,set-working-directory)
- cmd="wezterm__help__set__working__directory"
+ thinkterm__help,set-working-directory)
+ cmd="thinkterm__help__set__working__directory"
;;
- wezterm__help,shell-completion)
- cmd="wezterm__help__shell__completion"
+ thinkterm__help,shell-completion)
+ cmd="thinkterm__help__shell__completion"
;;
- wezterm__help,show-keys)
- cmd="wezterm__help__show__keys"
+ thinkterm__help,show-keys)
+ cmd="thinkterm__help__show__keys"
;;
- wezterm__help,ssh)
- cmd="wezterm__help__ssh"
+ thinkterm__help,ssh)
+ cmd="thinkterm__help__ssh"
;;
- wezterm__help,start)
- cmd="wezterm__help__start"
+ thinkterm__help,start)
+ cmd="thinkterm__help__start"
;;
- wezterm__help__cli,activate-pane)
- cmd="wezterm__help__cli__activate__pane"
+ thinkterm__help__cli,activate-pane)
+ cmd="thinkterm__help__cli__activate__pane"
;;
- wezterm__help__cli,activate-pane-direction)
- cmd="wezterm__help__cli__activate__pane__direction"
+ thinkterm__help__cli,activate-pane-direction)
+ cmd="thinkterm__help__cli__activate__pane__direction"
;;
- wezterm__help__cli,activate-tab)
- cmd="wezterm__help__cli__activate__tab"
+ thinkterm__help__cli,activate-tab)
+ cmd="thinkterm__help__cli__activate__tab"
;;
- wezterm__help__cli,adjust-pane-size)
- cmd="wezterm__help__cli__adjust__pane__size"
+ thinkterm__help__cli,adjust-pane-size)
+ cmd="thinkterm__help__cli__adjust__pane__size"
;;
- wezterm__help__cli,get-pane-direction)
- cmd="wezterm__help__cli__get__pane__direction"
+ thinkterm__help__cli,get-pane-direction)
+ cmd="thinkterm__help__cli__get__pane__direction"
;;
- wezterm__help__cli,get-text)
- cmd="wezterm__help__cli__get__text"
+ thinkterm__help__cli,get-text)
+ cmd="thinkterm__help__cli__get__text"
;;
- wezterm__help__cli,kill-pane)
- cmd="wezterm__help__cli__kill__pane"
+ thinkterm__help__cli,kill-pane)
+ cmd="thinkterm__help__cli__kill__pane"
;;
- wezterm__help__cli,list)
- cmd="wezterm__help__cli__list"
+ thinkterm__help__cli,list)
+ cmd="thinkterm__help__cli__list"
;;
- wezterm__help__cli,list-clients)
- cmd="wezterm__help__cli__list__clients"
+ thinkterm__help__cli,list-clients)
+ cmd="thinkterm__help__cli__list__clients"
;;
- wezterm__help__cli,move-pane-to-new-tab)
- cmd="wezterm__help__cli__move__pane__to__new__tab"
+ thinkterm__help__cli,move-pane-to-new-tab)
+ cmd="thinkterm__help__cli__move__pane__to__new__tab"
;;
- wezterm__help__cli,proxy)
- cmd="wezterm__help__cli__proxy"
+ thinkterm__help__cli,proxy)
+ cmd="thinkterm__help__cli__proxy"
;;
- wezterm__help__cli,rename-workspace)
- cmd="wezterm__help__cli__rename__workspace"
+ thinkterm__help__cli,rename-workspace)
+ cmd="thinkterm__help__cli__rename__workspace"
;;
- wezterm__help__cli,send-text)
- cmd="wezterm__help__cli__send__text"
+ thinkterm__help__cli,send-text)
+ cmd="thinkterm__help__cli__send__text"
;;
- wezterm__help__cli,set-tab-title)
- cmd="wezterm__help__cli__set__tab__title"
+ thinkterm__help__cli,set-tab-title)
+ cmd="thinkterm__help__cli__set__tab__title"
;;
- wezterm__help__cli,set-window-title)
- cmd="wezterm__help__cli__set__window__title"
+ thinkterm__help__cli,set-window-title)
+ cmd="thinkterm__help__cli__set__window__title"
;;
- wezterm__help__cli,spawn)
- cmd="wezterm__help__cli__spawn"
+ thinkterm__help__cli,spawn)
+ cmd="thinkterm__help__cli__spawn"
;;
- wezterm__help__cli,split-pane)
- cmd="wezterm__help__cli__split__pane"
+ thinkterm__help__cli,split-pane)
+ cmd="thinkterm__help__cli__split__pane"
;;
- wezterm__help__cli,tlscreds)
- cmd="wezterm__help__cli__tlscreds"
+ thinkterm__help__cli,tlscreds)
+ cmd="thinkterm__help__cli__tlscreds"
;;
- wezterm__help__cli,zoom-pane)
- cmd="wezterm__help__cli__zoom__pane"
+ thinkterm__help__cli,zoom-pane)
+ cmd="thinkterm__help__cli__zoom__pane"
;;
*)
;;
@@ -279,7 +283,7 @@ _wezterm() {
done
case "${cmd}" in
- wezterm)
+ thinkterm)
opts="-n -h -V --skip-config --config-file --config --help --version start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -287,7 +291,15 @@ _wezterm() {
fi
case "${prev}" in
--config-file)
+ local oldifs
+ if [ -n "${IFS+x}" ]; then
+ oldifs="$IFS"
+ fi
+ IFS=$'\n'
COMPREPLY=($(compgen -f "${cur}"))
+ if [ -n "${oldifs+x}" ]; then
+ IFS="$oldifs"
+ fi
if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
compopt -o filenames
fi
@@ -304,7 +316,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__blocking__start)
+ thinkterm__blocking__start)
opts="-e -h --no-auto-connect --always-new-process --new-tab --cwd --class --workspace --position --domain --attach --help [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -341,7 +353,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli)
+ thinkterm__cli)
opts="-h --no-auto-start --prefer-mux --class --help list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -359,7 +371,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__activate__pane)
+ thinkterm__cli__activate__pane)
opts="-h --pane-id --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -377,7 +389,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__activate__pane__direction)
+ thinkterm__cli__activate__pane__direction)
opts="-h --pane-id --help Up Down Left Right Next Prev"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -395,7 +407,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__activate__tab)
+ thinkterm__cli__activate__tab)
opts="-h --tab-id --tab-index --tab-relative --no-wrap --pane-id --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -425,7 +437,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__adjust__pane__size)
+ thinkterm__cli__adjust__pane__size)
opts="-h --pane-id --amount --help Up Down Left Right Next Prev"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -447,7 +459,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__get__pane__direction)
+ thinkterm__cli__get__pane__direction)
opts="-h --pane-id --help Up Down Left Right Next Prev"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -465,7 +477,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__get__text)
+ thinkterm__cli__get__text)
opts="-h --pane-id --start-line --end-line --escapes --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -491,7 +503,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help)
+ thinkterm__cli__help)
opts="list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -505,7 +517,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__activate__pane)
+ thinkterm__cli__help__activate__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -519,7 +531,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__activate__pane__direction)
+ thinkterm__cli__help__activate__pane__direction)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -533,7 +545,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__activate__tab)
+ thinkterm__cli__help__activate__tab)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -547,7 +559,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__adjust__pane__size)
+ thinkterm__cli__help__adjust__pane__size)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -561,7 +573,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__get__pane__direction)
+ thinkterm__cli__help__get__pane__direction)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -575,7 +587,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__get__text)
+ thinkterm__cli__help__get__text)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -589,7 +601,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__help)
+ thinkterm__cli__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -603,7 +615,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__kill__pane)
+ thinkterm__cli__help__kill__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -617,7 +629,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__list)
+ thinkterm__cli__help__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -631,7 +643,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__list__clients)
+ thinkterm__cli__help__list__clients)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -645,7 +657,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__move__pane__to__new__tab)
+ thinkterm__cli__help__move__pane__to__new__tab)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -659,7 +671,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__proxy)
+ thinkterm__cli__help__proxy)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -673,7 +685,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__rename__workspace)
+ thinkterm__cli__help__rename__workspace)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -687,7 +699,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__send__text)
+ thinkterm__cli__help__send__text)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -701,7 +713,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__set__tab__title)
+ thinkterm__cli__help__set__tab__title)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -715,7 +727,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__set__window__title)
+ thinkterm__cli__help__set__window__title)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -729,7 +741,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__spawn)
+ thinkterm__cli__help__spawn)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -743,7 +755,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__split__pane)
+ thinkterm__cli__help__split__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -757,7 +769,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__tlscreds)
+ thinkterm__cli__help__tlscreds)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -771,7 +783,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__help__zoom__pane)
+ thinkterm__cli__help__zoom__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -785,7 +797,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__kill__pane)
+ thinkterm__cli__kill__pane)
opts="-h --pane-id --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -803,7 +815,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__list)
+ thinkterm__cli__list)
opts="-h --format --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -821,7 +833,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__list__clients)
+ thinkterm__cli__list__clients)
opts="-h --format --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -839,7 +851,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__move__pane__to__new__tab)
+ thinkterm__cli__move__pane__to__new__tab)
opts="-h --pane-id --window-id --new-window --workspace --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -865,7 +877,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__proxy)
+ thinkterm__cli__proxy)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -879,7 +891,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__rename__workspace)
+ thinkterm__cli__rename__workspace)
opts="-h --workspace --pane-id --help <NEW_WORKSPACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -901,7 +913,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__send__text)
+ thinkterm__cli__send__text)
opts="-h --pane-id --no-paste --help [TEXT]"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -919,7 +931,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__set__tab__title)
+ thinkterm__cli__set__tab__title)
opts="-h --tab-id --pane-id --help <TITLE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -941,7 +953,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__set__window__title)
+ thinkterm__cli__set__window__title)
opts="-h --window-id --pane-id --help <TITLE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -963,7 +975,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__spawn)
+ thinkterm__cli__spawn)
opts="-h --pane-id --domain-name --window-id --new-window --cwd --workspace --help [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1000,7 +1012,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__split__pane)
+ thinkterm__cli__split__pane)
opts="-h --pane-id --horizontal --left --right --top --bottom --top-level --cells --percent --cwd --move-pane-id --help [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1037,7 +1049,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__tlscreds)
+ thinkterm__cli__tlscreds)
opts="-h --pem --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1051,7 +1063,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__cli__zoom__pane)
+ thinkterm__cli__zoom__pane)
opts="-h --pane-id --zoom --unzoom --toggle --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1069,7 +1081,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__connect)
+ thinkterm__connect)
opts="-h --new-tab --class --workspace --position --help <DOMAIN_NAME> [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1095,7 +1107,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help)
+ thinkterm__help)
opts="start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1109,7 +1121,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__blocking__start)
+ thinkterm__help__blocking__start)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1123,7 +1135,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli)
+ thinkterm__help__cli)
opts="list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1137,7 +1149,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__activate__pane)
+ thinkterm__help__cli__activate__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1151,7 +1163,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__activate__pane__direction)
+ thinkterm__help__cli__activate__pane__direction)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1165,7 +1177,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__activate__tab)
+ thinkterm__help__cli__activate__tab)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1179,7 +1191,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__adjust__pane__size)
+ thinkterm__help__cli__adjust__pane__size)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1193,7 +1205,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__get__pane__direction)
+ thinkterm__help__cli__get__pane__direction)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1207,7 +1219,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__get__text)
+ thinkterm__help__cli__get__text)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1221,7 +1233,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__kill__pane)
+ thinkterm__help__cli__kill__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1235,7 +1247,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__list)
+ thinkterm__help__cli__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1249,7 +1261,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__list__clients)
+ thinkterm__help__cli__list__clients)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1263,7 +1275,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__move__pane__to__new__tab)
+ thinkterm__help__cli__move__pane__to__new__tab)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1277,7 +1289,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__proxy)
+ thinkterm__help__cli__proxy)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1291,7 +1303,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__rename__workspace)
+ thinkterm__help__cli__rename__workspace)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1305,7 +1317,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__send__text)
+ thinkterm__help__cli__send__text)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1319,7 +1331,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__set__tab__title)
+ thinkterm__help__cli__set__tab__title)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1333,7 +1345,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__set__window__title)
+ thinkterm__help__cli__set__window__title)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1347,7 +1359,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__spawn)
+ thinkterm__help__cli__spawn)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1361,7 +1373,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__split__pane)
+ thinkterm__help__cli__split__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1375,7 +1387,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__tlscreds)
+ thinkterm__help__cli__tlscreds)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1389,7 +1401,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__cli__zoom__pane)
+ thinkterm__help__cli__zoom__pane)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1403,7 +1415,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__connect)
+ thinkterm__help__connect)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1417,7 +1429,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__help)
+ thinkterm__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1431,7 +1443,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__imgcat)
+ thinkterm__help__imgcat)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1445,7 +1457,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__ls__fonts)
+ thinkterm__help__ls__fonts)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1459,7 +1471,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__record)
+ thinkterm__help__record)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1473,7 +1485,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__replay)
+ thinkterm__help__replay)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1487,7 +1499,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__serial)
+ thinkterm__help__serial)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1501,7 +1513,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__set__working__directory)
+ thinkterm__help__set__working__directory)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1515,7 +1527,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__shell__completion)
+ thinkterm__help__shell__completion)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1529,7 +1541,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__show__keys)
+ thinkterm__help__show__keys)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1543,7 +1555,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__ssh)
+ thinkterm__help__ssh)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1557,7 +1569,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__help__start)
+ thinkterm__help__start)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1571,7 +1583,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__imgcat)
+ thinkterm__imgcat)
opts="-h --width --height --no-preserve-aspect-ratio --position --no-move-cursor --hold --tmux-passthru --max-pixels --no-resample --resample-format --resample-filter --resize --show-resample-timing --help [FILE_NAME]"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1617,7 +1629,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__ls__fonts)
+ thinkterm__ls__fonts)
opts="-h --list-system --text --codepoints --rasterize-ascii --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1639,8 +1651,8 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__record)
- opts="-h --cwd --help [PROG]..."
+ thinkterm__record)
+ opts="-o -h --cwd --help [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -1650,6 +1662,10 @@ _wezterm() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ -o)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
*)
COMPREPLY=()
;;
@@ -1657,7 +1673,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__replay)
+ thinkterm__replay)
opts="-h --explain --explain-only --cat --help <CAST_FILE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1671,7 +1687,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__serial)
+ thinkterm__serial)
opts="-h --baud --class --position --help <PORT>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1697,7 +1713,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__set__working__directory)
+ thinkterm__set__working__directory)
opts="-h --tmux-passthru --help [CWD] [HOST]"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1715,7 +1731,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__shell__completion)
+ thinkterm__shell__completion)
opts="-h --shell --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1733,7 +1749,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__show__keys)
+ thinkterm__show__keys)
opts="-h --lua --key-table --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1751,7 +1767,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__ssh)
+ thinkterm__ssh)
opts="-o -v -h --ssh-option --class --position --help <USER_AT_HOST_AND_PORT> [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1781,7 +1797,7 @@ _wezterm() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
- wezterm__start)
+ thinkterm__start)
opts="-e -h --no-auto-connect --always-new-process --new-tab --cwd --class --workspace --position --domain --attach --help [PROG]..."
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
@@ -1822,7 +1838,7 @@ _wezterm() {
}
if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
- complete -F _wezterm -o nosort -o bashdefault -o default wezterm
+ complete -F _thinkterm -o nosort -o bashdefault -o default thinkterm wezterm
else
- complete -F _wezterm -o bashdefault -o default wezterm
+ complete -F _thinkterm -o bashdefault -o default thinkterm wezterm
fi
diff --git a/assets/shell-completion/fish b/assets/shell-completion/fish
index fc0daed8..a581dd31 100644
--- a/assets/shell-completion/fish
+++ b/assets/shell-completion/fish
@@ -1,240 +1,278 @@
-complete -c wezterm -n "__fish_use_subcommand" -l config-file -d 'Specify the configuration file to use, overrides the normal configuration file resolution' -r -F
-complete -c wezterm -n "__fish_use_subcommand" -l config -d 'Override specific configuration values' -r
-complete -c wezterm -n "__fish_use_subcommand" -s n -l skip-config -d 'Skip loading the ThinkTerm configuration'
-complete -c wezterm -n "__fish_use_subcommand" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_use_subcommand" -s V -l version -d 'Print version'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "start" -d 'Start the GUI, optionally running an alternative program [aliases: -e]'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "blocking-start" -d '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>'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "ssh" -d 'Establish an ssh session'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "serial" -d 'Open a serial port'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "connect" -d 'Connect to wezterm multiplexer'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "ls-fonts" -d 'Display information about fonts'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "show-keys" -d 'Show key assignments'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "cli" -d 'Interact with experimental mux server'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "imgcat" -d 'Output an image to the terminal'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "set-working-directory" -d 'Advise the terminal of the current working directory by emitting an OSC 7 escape sequence'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "record" -d 'Record a terminal session as an asciicast'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "replay" -d 'Replay an asciicast terminal session'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "shell-completion" -d 'Generate shell completion information'
-complete -c wezterm -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs' -r
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l position -d 'Override the position for the initial window launched by this process.' -r
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l domain -d 'Name of the multiplexer domain section from the configuration to which you\'d like to connect. If omitted, the default domain will be used' -r
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l no-auto-connect -d 'If true, do not connect to domains marked as connect_automatically in your wezterm configuration file'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l always-new-process -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -s e -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -l attach -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from start" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs' -r
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l position -d 'Override the position for the initial window launched by this process.' -r
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l domain -d 'Name of the multiplexer domain section from the configuration to which you\'d like to connect. If omitted, the default domain will be used' -r
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l no-auto-connect -d 'If true, do not connect to domains marked as connect_automatically in your wezterm configuration file'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l always-new-process -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -s e -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -l attach -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from blocking-start" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from ssh" -s o -l ssh-option -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from ssh" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs' -r
-complete -c wezterm -n "__fish_seen_subcommand_from ssh" -l position -d 'Override the position for the initial window launched by this process.' -r
-complete -c wezterm -n "__fish_seen_subcommand_from ssh" -s v -d 'Enable verbose ssh protocol tracing. The trace information is printed to the stderr stream of the process'
-complete -c wezterm -n "__fish_seen_subcommand_from ssh" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from serial" -l baud -d 'Set the baud rate. The default is 9600 baud' -r
-complete -c wezterm -n "__fish_seen_subcommand_from serial" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs' -r
-complete -c wezterm -n "__fish_seen_subcommand_from serial" -l position -d 'Override the position for the initial window launched by this process.' -r
-complete -c wezterm -n "__fish_seen_subcommand_from serial" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from connect" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs' -r
-complete -c wezterm -n "__fish_seen_subcommand_from connect" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
-complete -c wezterm -n "__fish_seen_subcommand_from connect" -l position -d 'Override the position for the initial window launched by this process.' -r
-complete -c wezterm -n "__fish_seen_subcommand_from connect" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
-complete -c wezterm -n "__fish_seen_subcommand_from connect" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from ls-fonts" -l text -d 'Explain which fonts are used to render the supplied text string' -r
-complete -c wezterm -n "__fish_seen_subcommand_from ls-fonts" -l codepoints -d 'Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values' -r
-complete -c wezterm -n "__fish_seen_subcommand_from ls-fonts" -l list-system -d 'Whether to list all fonts available to the system'
-complete -c wezterm -n "__fish_seen_subcommand_from ls-fonts" -l rasterize-ascii -d 'Show rasterized glyphs for the text in --text or --codepoints using ascii blocks'
-complete -c wezterm -n "__fish_seen_subcommand_from ls-fonts" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from show-keys" -l key-table -d 'In lua mode, show only the named key table' -r
-complete -c wezterm -n "__fish_seen_subcommand_from show-keys" -l lua -d 'Show the keys as lua config statements'
-complete -c wezterm -n "__fish_seen_subcommand_from show-keys" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -l class -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -l no-auto-start -d 'Don\'t automatically start the server'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -l prefer-mux -d 'Prefer connecting to a background mux server. The default is to prefer connecting to a running wezterm gui instance'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "list" -d 'list windows, tabs and panes'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "list-clients" -d 'list clients'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "proxy" -d 'start rpc proxy pipe'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "tlscreds" -d 'obtain tls credentials'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "split-pane" -d 'split the current pane.
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "spawn" -d 'Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "send-text" -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "kill-pane" -d 'Kill a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-pane" -d 'Activate (focus) a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-tab" -d 'Activate a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "set-tab-title" -d 'Change the title of a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "set-window-title" -d 'Change the title of a window'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "rename-workspace" -d 'Rename a workspace'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from list" -l format -d 'Controls the output format. "table" and "json" are possible formats' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from list-clients" -l format -d 'Controls the output format. "table" and "json" are possible formats' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from list-clients" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from proxy" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from tlscreds" -l pem -d 'Output a PEM file encoded copy of the credentials'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from tlscreds" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l pane-id -d 'Specify the pane that should be moved. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l window-id -d 'Specify the window into which the new tab will be created. If omitted, the window associated with the current pane is used' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l workspace -d 'If creating a new window, override the default workspace name with the provided name. The default name is "default"' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l new-window -d 'Create tab in a new window, rather than the window currently containing the pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l pane-id -d 'Specify the pane that should be split. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l cells -d 'The number of cells that the new split should have. If omitted, 50% of the available space is used' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l percent -d 'Specify the number of cells that the new split should have, expressed as a percentage of the available space' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l move-pane-id -d 'Instead of spawning a new command, move the specified pane into the newly created split' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l horizontal -d 'Equivalent to `--right`. If neither this nor any other direction is specified, the default is equivalent to `--bottom`'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l left -d 'Split horizontally, with the new pane on the left'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l right -d 'Split horizontally, with the new pane on the right'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l top -d 'Split vertically, with the new pane on the top'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l bottom -d 'Split vertically, with the new pane on the bottom'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -l top-level -d 'Rather than splitting the active pane, split the entire window'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from split-pane" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l pane-id -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l domain-name -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l window-id -d '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`' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l workspace -d 'When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires `--new-window`' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -l new-window -d 'Spawn into a new window, rather than a new tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from spawn" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from send-text" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from send-text" -l no-paste -d 'Send the text directly, rather than as a bracketed paste'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from send-text" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l start-line -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l end-line -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l escapes -d 'Include escape sequences that color and style the text. If omitted, unattributed text will be returned'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-pane-direction" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-pane-direction" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-pane-direction" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-pane-direction" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from kill-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from kill-pane" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-pane" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from adjust-pane-size" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from adjust-pane-size" -l amount -d 'Specify the number of cells to resize by, defaults to 1' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from adjust-pane-size" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -l tab-id -d 'Specify the target tab by its id' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -l tab-index -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -l tab-relative -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -l no-wrap -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-tab" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-tab-title" -l tab-id -d 'Specify the target tab by its id' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-tab-title" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-tab-title" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-window-title" -l window-id -d 'Specify the target window by its id' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-window-title" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from set-window-title" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from rename-workspace" -l workspace -d 'Specify the workspace to rename' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from rename-workspace" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from rename-workspace" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from zoom-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from zoom-pane" -l zoom -d 'Zooms the pane if it wasn\'t already zoomed'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from zoom-pane" -l unzoom -d 'Unzooms the pane if it was zoomed'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from zoom-pane" -l toggle -d 'Toggles the zoom state of the pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from zoom-pane" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "list" -d 'list windows, tabs and panes'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "list-clients" -d 'list clients'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "proxy" -d 'start rpc proxy pipe'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "tlscreds" -d 'obtain tls credentials'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "split-pane" -d 'split the current pane.
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "spawn" -d 'Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "send-text" -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "kill-pane" -d 'Kill a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-pane" -d 'Activate (focus) a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "activate-tab" -d 'Activate a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "set-tab-title" -d 'Change the title of a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "set-window-title" -d 'Change the title of a window'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "rename-workspace" -d 'Rename a workspace'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
-complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from help; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l width -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l height -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l position -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l tmux-passthru -d 'How to manage passing the escape through to tmux' -r -f -a "{disable '',enable '',detect ''}"
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l max-pixels -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l resample-format -d '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' -r -f -a "{png '',jpeg '',input ''}"
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l resample-filter -d 'Specify the filtering technique used when resizing/resampling images. The default is a reasonable middle ground of speed and quality' -r -f -a "{nearest '',triangle '',catmull-rom '',gaussian '',lanczos3 ''}"
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l resize -d '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' -r
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l no-preserve-aspect-ratio -d 'Do not respect the aspect ratio. The default is to respect the aspect ratio'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l no-move-cursor -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l hold -d 'Wait for enter/escape/ctrl-c/ctrl-d to be pressed after displaying the image'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l no-resample -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -l show-resample-timing -d 'When resampling or resizing, display some diagnostics around the timing/performance of that operation'
-complete -c wezterm -n "__fish_seen_subcommand_from imgcat" -s h -l help -d 'Print help (see more with \'--help\')'
-complete -c wezterm -n "__fish_seen_subcommand_from set-working-directory" -l tmux-passthru -d 'How to manage passing the escape through to tmux' -r -f -a "{disable '',enable '',detect ''}"
-complete -c wezterm -n "__fish_seen_subcommand_from set-working-directory" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from record" -l cwd -d 'Start in the specified directory, instead of the default_cwd defined by your wezterm configuration' -r -F
-complete -c wezterm -n "__fish_seen_subcommand_from record" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from replay" -l explain -d 'Explain what is being sent/received'
-complete -c wezterm -n "__fish_seen_subcommand_from replay" -l explain-only -d 'Don\'t replay, just show the explanation'
-complete -c wezterm -n "__fish_seen_subcommand_from replay" -l cat -d 'Just emit raw escape sequences all at once, with no timing information'
-complete -c wezterm -n "__fish_seen_subcommand_from replay" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from shell-completion" -l shell -d 'Which shell to generate for' -r -f -a "{bash '',elvish '',fish '',power-shell '',zsh '',fig ''}"
-complete -c wezterm -n "__fish_seen_subcommand_from shell-completion" -s h -l help -d 'Print help'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "start" -d 'Start the GUI, optionally running an alternative program [aliases: -e]'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "blocking-start" -d '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>'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "ssh" -d 'Establish an ssh session'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "serial" -d 'Open a serial port'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "connect" -d 'Connect to wezterm multiplexer'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "ls-fonts" -d 'Display information about fonts'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "show-keys" -d 'Show key assignments'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "cli" -d 'Interact with experimental mux server'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "imgcat" -d 'Output an image to the terminal'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "set-working-directory" -d 'Advise the terminal of the current working directory by emitting an OSC 7 escape sequence'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "record" -d 'Record a terminal session as an asciicast'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "replay" -d 'Replay an asciicast terminal session'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "shell-completion" -d 'Generate shell completion information'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from blocking-start; and not __fish_seen_subcommand_from ssh; and not __fish_seen_subcommand_from serial; and not __fish_seen_subcommand_from connect; and not __fish_seen_subcommand_from ls-fonts; and not __fish_seen_subcommand_from show-keys; and not __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from imgcat; and not __fish_seen_subcommand_from set-working-directory; and not __fish_seen_subcommand_from record; and not __fish_seen_subcommand_from replay; and not __fish_seen_subcommand_from shell-completion; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "list" -d 'list windows, tabs and panes'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "list-clients" -d 'list clients'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "proxy" -d 'start rpc proxy pipe'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "tlscreds" -d 'obtain tls credentials'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "split-pane" -d 'split the current pane.
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "spawn" -d 'Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "send-text" -d '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'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "kill-pane" -d 'Kill a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "activate-pane" -d 'Activate (focus) a pane'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "activate-tab" -d 'Activate a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "set-tab-title" -d 'Change the title of a tab'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "set-window-title" -d 'Change the title of a window'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "rename-workspace" -d 'Rename a workspace'
-complete -c wezterm -n "__fish_seen_subcommand_from help; and __fish_seen_subcommand_from cli; and not __fish_seen_subcommand_from list; and not __fish_seen_subcommand_from list-clients; and not __fish_seen_subcommand_from proxy; and not __fish_seen_subcommand_from tlscreds; and not __fish_seen_subcommand_from move-pane-to-new-tab; and not __fish_seen_subcommand_from split-pane; and not __fish_seen_subcommand_from spawn; and not __fish_seen_subcommand_from send-text; and not __fish_seen_subcommand_from get-text; and not __fish_seen_subcommand_from activate-pane-direction; and not __fish_seen_subcommand_from get-pane-direction; and not __fish_seen_subcommand_from kill-pane; and not __fish_seen_subcommand_from activate-pane; and not __fish_seen_subcommand_from adjust-pane-size; and not __fish_seen_subcommand_from activate-tab; and not __fish_seen_subcommand_from set-tab-title; and not __fish_seen_subcommand_from set-window-title; and not __fish_seen_subcommand_from rename-workspace; and not __fish_seen_subcommand_from zoom-pane" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
+# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
+function __fish_thinkterm_global_optspecs
+ string join \n n/skip-config config-file= config= h/help V/version
+end
+
+function __fish_thinkterm_needs_command
+ # Figure out if the current invocation already has a command.
+ set -l cmd (commandline -opc)
+ set -e cmd[1]
+ argparse -s (__fish_thinkterm_global_optspecs) -- $cmd 2>/dev/null
+ or return
+ if set -q argv[1]
+ # Also print the command, so this can be used to figure out what it is.
+ echo $argv[1]
+ return 1
+ end
+ return 0
+end
+
+function __fish_thinkterm_using_subcommand
+ set -l cmd (__fish_thinkterm_needs_command)
+ test -z "$cmd"
+ and return 1
+ contains -- $cmd[1] $argv
+end
+
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -l config-file -d 'Specify the configuration file to use, overrides the normal configuration file resolution' -r -F
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -l config -d 'Override specific configuration values' -r
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -s n -l skip-config -d 'Skip loading the ThinkTerm configuration'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -s V -l version -d 'Print version'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "start" -d 'Start the GUI, optionally running an alternative program [aliases: -e]'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "blocking-start" -d '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>'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "ssh" -d 'Establish an ssh session'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "serial" -d 'Open a serial port'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "connect" -d 'Connect to ThinkTerm multiplexer'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "ls-fonts" -d 'Display information about fonts'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "show-keys" -d 'Show key assignments'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "cli" -d 'Interact with experimental mux server'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "imgcat" -d 'Output an image to the terminal'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "set-working-directory" -d 'Advise the terminal of the current working directory by emitting an OSC 7 escape sequence'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "record" -d 'Record a terminal session as an asciicast'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "replay" -d 'Replay an asciicast terminal session'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "shell-completion" -d 'Generate shell completion information'
+complete -c thinkterm -n "__fish_thinkterm_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l position -d 'Override the position for the initial window launched by this process.' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l domain -d 'Name of the multiplexer domain section from the configuration to which you\'d like to connect. If omitted, the default domain will be used' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l no-auto-connect -d 'If true, do not connect to domains marked as connect_automatically in your ThinkTerm configuration file'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l always-new-process -d 'If enabled, don\'t try to ask an existing ThinkTerm GUI instance to start the command. Instead, always start the GUI in this invocation of ThinkTerm so that you can wait for the command to complete by waiting for this ThinkTerm process to finish'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -s e -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -l attach -d 'When used with --domain, if the domain already has running panes, ThinkTerm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, ThinkTerm will attach AND then spawn PROG'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand start" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l position -d 'Override the position for the initial window launched by this process.' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l domain -d 'Name of the multiplexer domain section from the configuration to which you\'d like to connect. If omitted, the default domain will be used' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l no-auto-connect -d 'If true, do not connect to domains marked as connect_automatically in your ThinkTerm configuration file'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l always-new-process -d 'If enabled, don\'t try to ask an existing ThinkTerm GUI instance to start the command. Instead, always start the GUI in this invocation of ThinkTerm so that you can wait for the command to complete by waiting for this ThinkTerm process to finish'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -s e -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -l attach -d 'When used with --domain, if the domain already has running panes, ThinkTerm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, ThinkTerm will attach AND then spawn PROG'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand blocking-start" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ssh" -s o -l ssh-option -d 'Override specific SSH configuration options. `thinkterm 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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ssh" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ssh" -l position -d 'Override the position for the initial window launched by this process.' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ssh" -s v -d 'Enable verbose ssh protocol tracing. The trace information is printed to the stderr stream of the process'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ssh" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand serial" -l baud -d 'Set the baud rate. The default is 9600 baud' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand serial" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand serial" -l position -d 'Override the position for the initial window launched by this process.' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand serial" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand connect" -l class -d 'Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand connect" -l workspace -d 'Override the default workspace with the provided name. The default is "default"' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand connect" -l position -d 'Override the position for the initial window launched by this process.' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand connect" -l new-tab -d 'When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand connect" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ls-fonts" -l text -d 'Explain which fonts are used to render the supplied text string' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ls-fonts" -l codepoints -d 'Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ls-fonts" -l list-system -d 'Whether to list all fonts available to the system'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ls-fonts" -l rasterize-ascii -d 'Show rasterized glyphs for the text in --text or --codepoints using ascii blocks'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand ls-fonts" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand show-keys" -l key-table -d 'In lua mode, show only the named key table' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand show-keys" -l lua -d 'Show the keys as lua config statements'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand show-keys" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -l class -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -l no-auto-start -d 'Don\'t automatically start the server'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -l prefer-mux -d 'Prefer connecting to a background mux server. The default is to prefer connecting to a running ThinkTerm GUI instance'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "list" -d 'list windows, tabs and panes'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "list-clients" -d 'list clients'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "proxy" -d 'start rpc proxy pipe'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "tlscreds" -d 'obtain tls credentials'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "split-pane" -d 'split the current pane. Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "spawn" -d 'Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "send-text" -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "kill-pane" -d 'Kill a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "activate-pane" -d 'Activate (focus) a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "activate-tab" -d 'Activate a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "set-tab-title" -d 'Change the title of a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "set-window-title" -d 'Change the title of a window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "rename-workspace" -d 'Rename a workspace'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and not __fish_seen_subcommand_from list list-clients proxy tlscreds move-pane-to-new-tab split-pane spawn send-text get-text activate-pane-direction get-pane-direction kill-pane activate-pane adjust-pane-size activate-tab set-tab-title set-window-title rename-workspace zoom-pane help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from list" -l format -d 'Controls the output format. "table" and "json" are possible formats' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from list-clients" -l format -d 'Controls the output format. "table" and "json" are possible formats' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from list-clients" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from proxy" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from tlscreds" -l pem -d 'Output a PEM file encoded copy of the credentials'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from tlscreds" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l pane-id -d 'Specify the pane that should be moved. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l window-id -d 'Specify the window into which the new tab will be created. If omitted, the window associated with the current pane is used' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l workspace -d 'If creating a new window, override the default workspace name with the provided name. The default name is "default"' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -l new-window -d 'Create tab in a new window, rather than the window currently containing the pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from move-pane-to-new-tab" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l pane-id -d 'Specify the pane that should be split. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l cells -d 'The number of cells that the new split should have. If omitted, 50% of the available space is used' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l percent -d 'Specify the number of cells that the new split should have, expressed as a percentage of the available space' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l move-pane-id -d 'Instead of spawning a new command, move the specified pane into the newly created split' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l horizontal -d 'Equivalent to `--right`. If neither this nor any other direction is specified, the default is equivalent to `--bottom`'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l left -d 'Split horizontally, with the new pane on the left'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l right -d 'Split horizontally, with the new pane on the right'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l top -d 'Split vertically, with the new pane on the top'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l bottom -d 'Split vertically, with the new pane on the bottom'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -l top-level -d 'Rather than splitting the active pane, split the entire window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from split-pane" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l pane-id -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l domain-name -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l window-id -d '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`' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l cwd -d 'Specify the current working directory for the initially spawned program' -r -f -a "(__fish_complete_directories)"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l workspace -d 'When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires `--new-window`' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -l new-window -d 'Spawn into a new window, rather than a new tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from spawn" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from send-text" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from send-text" -l no-paste -d 'Send the text directly, rather than as a bracketed paste'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from send-text" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-text" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-text" -l start-line -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-text" -l end-line -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-text" -l escapes -d 'Include escape sequences that color and style the text. If omitted, unattributed text will be returned'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-text" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-pane-direction" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-pane-direction" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-pane-direction" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from get-pane-direction" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from kill-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from kill-pane" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-pane" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from adjust-pane-size" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from adjust-pane-size" -l amount -d 'Specify the number of cells to resize by, defaults to 1' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from adjust-pane-size" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -l tab-id -d 'Specify the target tab by its id' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -l tab-index -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -l tab-relative -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -l no-wrap -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from activate-tab" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-tab-title" -l tab-id -d 'Specify the target tab by its id' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-tab-title" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-tab-title" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-window-title" -l window-id -d 'Specify the target window by its id' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-window-title" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from set-window-title" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from rename-workspace" -l workspace -d 'Specify the workspace to rename' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from rename-workspace" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from rename-workspace" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from zoom-pane" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from zoom-pane" -l zoom -d 'Zooms the pane if it wasn\'t already zoomed'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from zoom-pane" -l unzoom -d 'Unzooms the pane if it was zoomed'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from zoom-pane" -l toggle -d 'Toggles the zoom state of the pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from zoom-pane" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "list" -d 'list windows, tabs and panes'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "list-clients" -d 'list clients'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "proxy" -d 'start rpc proxy pipe'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "tlscreds" -d 'obtain tls credentials'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "split-pane" -d 'split the current pane. Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "spawn" -d 'Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "send-text" -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "kill-pane" -d 'Kill a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "activate-pane" -d 'Activate (focus) a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "activate-tab" -d 'Activate a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "set-tab-title" -d 'Change the title of a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "set-window-title" -d 'Change the title of a window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "rename-workspace" -d 'Rename a workspace'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand cli; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l width -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l height -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l position -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l tmux-passthru -d 'How to manage passing the escape through to tmux' -r -f -a "disable\t''
+enable\t''
+detect\t''"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l max-pixels -d '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 ThinkTerm. Note that resampling the image here will reduce any animated images to a single frame' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l resample-format -d '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' -r -f -a "png\t''
+jpeg\t''
+input\t''"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l resample-filter -d 'Specify the filtering technique used when resizing/resampling images. The default is a reasonable middle ground of speed and quality' -r -f -a "nearest\t''
+triangle\t''
+catmull-rom\t''
+gaussian\t''
+lanczos3\t''"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l resize -d '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' -r
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l no-preserve-aspect-ratio -d 'Do not respect the aspect ratio. The default is to respect the aspect ratio'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l no-move-cursor -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l hold -d 'Wait for enter/escape/ctrl-c/ctrl-d to be pressed after displaying the image'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l no-resample -d '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 ThinkTerm'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -l show-resample-timing -d 'When resampling or resizing, display some diagnostics around the timing/performance of that operation'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand imgcat" -s h -l help -d 'Print help (see more with \'--help\')'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand set-working-directory" -l tmux-passthru -d 'How to manage passing the escape through to tmux' -r -f -a "disable\t''
+enable\t''
+detect\t''"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand set-working-directory" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand record" -l cwd -d 'Start in the specified directory, instead of the default_cwd defined by your ThinkTerm configuration' -r -F
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand record" -s o -d 'Save asciicast to the specified file, instead of using a random file name in the temp directory' -r -F
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand record" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand replay" -l explain -d 'Explain what is being sent/received'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand replay" -l explain-only -d 'Don\'t replay, just show the explanation'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand replay" -l cat -d 'Just emit raw escape sequences all at once, with no timing information'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand replay" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand shell-completion" -l shell -d 'Which shell to generate for' -r -f -a "bash\t''
+elvish\t''
+fish\t''
+power-shell\t''
+zsh\t''
+fig\t''"
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand shell-completion" -s h -l help -d 'Print help'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "start" -d 'Start the GUI, optionally running an alternative program [aliases: -e]'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "blocking-start" -d '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>'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "ssh" -d 'Establish an ssh session'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "serial" -d 'Open a serial port'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "connect" -d 'Connect to ThinkTerm multiplexer'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "ls-fonts" -d 'Display information about fonts'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "show-keys" -d 'Show key assignments'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "cli" -d 'Interact with experimental mux server'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "imgcat" -d 'Output an image to the terminal'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "set-working-directory" -d 'Advise the terminal of the current working directory by emitting an OSC 7 escape sequence'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "record" -d 'Record a terminal session as an asciicast'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "replay" -d 'Replay an asciicast terminal session'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "shell-completion" -d 'Generate shell completion information'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and not __fish_seen_subcommand_from start blocking-start ssh serial connect ls-fonts show-keys cli imgcat set-working-directory record replay shell-completion help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "list" -d 'list windows, tabs and panes'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "list-clients" -d 'list clients'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "proxy" -d 'start rpc proxy pipe'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "tlscreds" -d 'obtain tls credentials'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "move-pane-to-new-tab" -d 'Move a pane into a new tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "split-pane" -d 'split the current pane. Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "spawn" -d 'Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "send-text" -d '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'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "get-text" -d 'Retrieves the textual content of a pane and output it to stdout'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "activate-pane-direction" -d 'Activate an adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "get-pane-direction" -d 'Determine the adjacent pane in the specified direction'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "kill-pane" -d 'Kill a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "activate-pane" -d 'Activate (focus) a pane'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "adjust-pane-size" -d 'Adjust the size of a pane directionally'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "activate-tab" -d 'Activate a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "set-tab-title" -d 'Change the title of a tab'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "set-window-title" -d 'Change the title of a window'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "rename-workspace" -d 'Rename a workspace'
+complete -c thinkterm -n "__fish_thinkterm_using_subcommand help; and __fish_seen_subcommand_from cli" -f -a "zoom-pane" -d 'Zoom, unzoom, or toggle zoom state'
+
+complete -c wezterm -w thinkterm
diff --git a/assets/shell-completion/zsh b/assets/shell-completion/zsh
index 6f267837..eba715be 100644
--- a/assets/shell-completion/zsh
+++ b/assets/shell-completion/zsh
@@ -1,8 +1,8 @@
-#compdef wezterm
+#compdef thinkterm wezterm
autoload -U is-at-least
-_wezterm() {
+_thinkterm() {
typeset -A opt_args
typeset -a _arguments_options
local ret=1
@@ -14,97 +14,97 @@ _wezterm() {
fi
local context curcontext="$curcontext" state line
- _arguments "${_arguments_options[@]}" \
+ _arguments "${_arguments_options[@]}" : \
'(-n --skip-config)--config-file=[Specify the configuration file to use, overrides the normal configuration file resolution]:CONFIG_FILE:_files' \
-'*--config=[Override specific configuration values]:name=value: ' \
+'*--config=[Override specific configuration values]:name=value:_default' \
'-n[Skip loading the ThinkTerm configuration]' \
'--skip-config[Skip loading the ThinkTerm configuration]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
-":: :_wezterm_commands" \
-"*::: :->wezterm" \
+":: :_thinkterm_commands" \
+"*::: :->thinkterm" \
&& ret=0
case $state in
- (wezterm)
+ (thinkterm)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
- curcontext="${curcontext%:*:*}:wezterm-command-$line[1]:"
+ curcontext="${curcontext%:*:*}:thinkterm-command-$line[1]:"
case $line[1] in
(start)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \
-'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs]:CLASS: ' \
-'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \
-'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \
-'--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: ' \
-'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your wezterm configuration file]' \
-'--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]' \
+'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs]:CLASS:_default' \
+'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE:_default' \
+'--position=[Override the position for the initial window launched by this process.]:POSITION:_default' \
+'--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:_default' \
+'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your ThinkTerm configuration file]' \
+'--always-new-process[If enabled, don'\''t try to ask an existing ThinkTerm GUI instance to start the command. Instead, always start the GUI in this invocation of ThinkTerm so that you can wait for the command to complete by waiting for this ThinkTerm process to finish]' \
'(--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]' \
'-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]' \
-'--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]' \
+'--attach[When used with --domain, if the domain already has running panes, ThinkTerm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, ThinkTerm will attach AND then spawn PROG]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-'*::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' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm start -- bash -l` will spawn bash as if it were a login shell. \[aliases\: -e\]:_cmdambivalent' \
&& ret=0
;;
(blocking-start)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \
-'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs]:CLASS: ' \
-'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \
-'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \
-'--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: ' \
-'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your wezterm configuration file]' \
-'--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]' \
+'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs]:CLASS:_default' \
+'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE:_default' \
+'--position=[Override the position for the initial window launched by this process.]:POSITION:_default' \
+'--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:_default' \
+'--no-auto-connect[If true, do not connect to domains marked as connect_automatically in your ThinkTerm configuration file]' \
+'--always-new-process[If enabled, don'\''t try to ask an existing ThinkTerm GUI instance to start the command. Instead, always start the GUI in this invocation of ThinkTerm so that you can wait for the command to complete by waiting for this ThinkTerm process to finish]' \
'(--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]' \
'-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]' \
-'--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]' \
+'--attach[When used with --domain, if the domain already has running panes, ThinkTerm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, ThinkTerm will attach AND then spawn PROG]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-'*::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' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm start -- bash -l` will spawn bash as if it were a login shell. \[aliases\: -e\]:_cmdambivalent' \
&& ret=0
;;
(ssh)
-_arguments "${_arguments_options[@]}" \
-'*-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: ' \
-'*--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: ' \
-'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs]:CLASS: ' \
-'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \
+_arguments "${_arguments_options[@]}" : \
+'*-o+[Override specific SSH configuration options. \`thinkterm 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:_default' \
+'*--ssh-option=[Override specific SSH configuration options. \`thinkterm 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:_default' \
+'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs]:CLASS:_default' \
+'--position=[Override the position for the initial window launched by this process.]:POSITION:_default' \
'-v[Enable verbose ssh protocol tracing. The trace information is printed to the stderr stream of the process]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':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:' \
-'*::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' \
+':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:_default' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm ssh user@host -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \
&& ret=0
;;
(serial)
-_arguments "${_arguments_options[@]}" \
-'--baud=[Set the baud rate. The default is 9600 baud]:BAUD: ' \
-'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs]:CLASS: ' \
-'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \
+_arguments "${_arguments_options[@]}" : \
+'--baud=[Set the baud rate. The default is 9600 baud]:BAUD:_default' \
+'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs]:CLASS:_default' \
+'--position=[Override the position for the initial window launched by this process.]:POSITION:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':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`:' \
+':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`:_default' \
&& ret=0
;;
(connect)
-_arguments "${_arguments_options[@]}" \
-'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm instance, including error, update and ssh authentication dialogs]:CLASS: ' \
-'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE: ' \
-'--position=[Override the position for the initial window launched by this process.]:POSITION: ' \
+_arguments "${_arguments_options[@]}" : \
+'--class=[Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs]:CLASS:_default' \
+'--workspace=[Override the default workspace with the provided name. The default is "default"]:WORKSPACE:_default' \
+'--position=[Override the position for the initial window launched by this process.]:POSITION:_default' \
'--new-tab[When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':domain_name -- Name of the multiplexer domain section from the configuration to which you'\''d like to connect:' \
-'*::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' \
+':domain_name -- Name of the multiplexer domain section from the configuration to which you'\''d like to connect:_default' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm start -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \
&& ret=0
;;
(ls-fonts)
-_arguments "${_arguments_options[@]}" \
-'(--list-system --codepoints)--text=[Explain which fonts are used to render the supplied text string]:TEXT: ' \
-'(--list-system)--codepoints=[Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values]:CODEPOINTS: ' \
+_arguments "${_arguments_options[@]}" : \
+'(--list-system --codepoints)--text=[Explain which fonts are used to render the supplied text string]:TEXT:_default' \
+'(--list-system)--codepoints=[Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values]:CODEPOINTS:_default' \
'--list-system[Whether to list all fonts available to the system]' \
'--rasterize-ascii[Show rasterized glyphs for the text in --text or --codepoints using ascii blocks]' \
'-h[Print help]' \
@@ -112,21 +112,21 @@ _arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-keys)
-_arguments "${_arguments_options[@]}" \
-'--key-table=[In lua mode, show only the named key table]:KEY_TABLE: ' \
+_arguments "${_arguments_options[@]}" : \
+'--key-table=[In lua mode, show only the named key table]:KEY_TABLE:_default' \
'--lua[Show the keys as lua config statements]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(cli)
-_arguments "${_arguments_options[@]}" \
-'--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: ' \
+_arguments "${_arguments_options[@]}" : \
+'--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:_default' \
'--no-auto-start[Don'\''t automatically start the server]' \
-'--prefer-mux[Prefer connecting to a background mux server. The default is to prefer connecting to a running wezterm gui instance]' \
+'--prefer-mux[Prefer connecting to a background mux server. The default is to prefer connecting to a running ThinkTerm GUI instance]' \
'-h[Print help]' \
'--help[Print help]' \
-":: :_wezterm__cli_commands" \
+":: :_thinkterm__cli_commands" \
"*::: :->cli" \
&& ret=0
@@ -134,52 +134,52 @@ _arguments "${_arguments_options[@]}" \
(cli)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
- curcontext="${curcontext%:*:*}:wezterm-cli-command-$line[1]:"
+ curcontext="${curcontext%:*:*}:thinkterm-cli-command-$line[1]:"
case $line[1] in
(list)
-_arguments "${_arguments_options[@]}" \
-'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT: ' \
+_arguments "${_arguments_options[@]}" : \
+'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list-clients)
-_arguments "${_arguments_options[@]}" \
-'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT: ' \
+_arguments "${_arguments_options[@]}" : \
+'--format=[Controls the output format. "table" and "json" are possible formats]:FORMAT:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(proxy)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(tlscreds)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--pem[Output a PEM file encoded copy of the credentials]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(move-pane-to-new-tab)
-_arguments "${_arguments_options[@]}" \
-'--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: ' \
-'--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: ' \
-'--workspace=[If creating a new window, override the default workspace name with the provided name. The default name is "default"]:WORKSPACE: ' \
+_arguments "${_arguments_options[@]}" : \
+'--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:_default' \
+'--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:_default' \
+'--workspace=[If creating a new window, override the default workspace name with the provided name. The default name is "default"]:WORKSPACE:_default' \
'(--window-id)--new-window[Create tab in a new window, rather than the window currently containing the pane]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(split-pane)
-_arguments "${_arguments_options[@]}" \
-'--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: ' \
-'--cells=[The number of cells that the new split should have. If omitted, 50% of the available space is used]:CELLS: ' \
-'(--cells)--percent=[Specify the number of cells that the new split should have, expressed as a percentage of the available space]:PERCENT: ' \
+_arguments "${_arguments_options[@]}" : \
+'--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:_default' \
+'--cells=[The number of cells that the new split should have. If omitted, 50% of the available space is used]:CELLS:_default' \
+'(--cells)--percent=[Specify the number of cells that the new split should have, expressed as a percentage of the available space]:PERCENT:_default' \
'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \
-'(--cwd)--move-pane-id=[Instead of spawning a new command, move the specified pane into the newly created split]:MOVE_PANE_ID: ' \
+'(--cwd)--move-pane-id=[Instead of spawning a new command, move the specified pane into the newly created split]:MOVE_PANE_ID:_default' \
'(--left --right --top --bottom)--horizontal[Equivalent to \`--right\`. If neither this nor any other direction is specified, the default is equivalent to \`--bottom\`]' \
'(--right --top --bottom)--left[Split horizontally, with the new pane on the left]' \
'(--left --top --bottom)--right[Split horizontally, with the new pane on the right]' \
@@ -188,121 +188,121 @@ _arguments "${_arguments_options[@]}" \
'--top-level[Rather than splitting the active pane, split the entire window]' \
'-h[Print help]' \
'--help[Print help]' \
-'*::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' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm cli split-pane -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \
&& ret=0
;;
(spawn)
-_arguments "${_arguments_options[@]}" \
-'--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: ' \
-'--domain-name=[]:DOMAIN_NAME: ' \
-'(--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: ' \
+_arguments "${_arguments_options[@]}" : \
+'--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:_default' \
+'--domain-name=[]:DOMAIN_NAME:_default' \
+'(--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:_default' \
'--cwd=[Specify the current working directory for the initially spawned program]:CWD:_files -/' \
-'--workspace=[When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires \`--new-window\`]:WORKSPACE: ' \
+'--workspace=[When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires \`--new-window\`]:WORKSPACE:_default' \
'--new-window[Spawn into a new window, rather than a new tab]' \
'-h[Print help]' \
'--help[Print help]' \
-'*::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' \
+'*::prog -- Instead of executing your shell, run PROG. For example\: `thinkterm cli spawn -- bash -l` will spawn bash as if it were a login shell:_cmdambivalent' \
&& ret=0
;;
(send-text)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'--no-paste[Send the text directly, rather than as a bracketed paste]' \
'-h[Print help]' \
'--help[Print help]' \
-'::text -- The text to send. If omitted, will read the text from stdin:' \
+'::text -- The text to send. If omitted, will read the text from stdin:_default' \
&& ret=0
;;
(get-text)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
-'--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: ' \
-'--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: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
+'--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:_default' \
+'--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:_default' \
'--escapes[Include escape sequences that color and style the text. If omitted, unattributed text will be returned]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(activate-pane-direction)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':direction -- The direction to switch to:(Up Down Left Right Next Prev)' \
&& ret=0
;;
(get-pane-direction)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':direction -- The direction to consider:(Up Down Left Right Next Prev)' \
&& ret=0
;;
(kill-pane)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(activate-pane)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(adjust-pane-size)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
-'--amount=[Specify the number of cells to resize by, defaults to 1]:AMOUNT: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
+'--amount=[Specify the number of cells to resize by, defaults to 1]:AMOUNT:_default' \
'-h[Print help]' \
'--help[Print help]' \
':direction -- Specify the direction to resize in:(Up Down Left Right Next Prev)' \
&& ret=0
;;
(activate-tab)
-_arguments "${_arguments_options[@]}" \
-'(--tab-index --tab-relative --no-wrap --pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID: ' \
-'--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: ' \
-'--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: ' \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'(--tab-index --tab-relative --no-wrap --pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID:_default' \
+'--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:_default' \
+'--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:_default' \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'--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]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(set-tab-title)
-_arguments "${_arguments_options[@]}" \
-'(--pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID: ' \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'(--pane-id)--tab-id=[Specify the target tab by its id]:TAB_ID:_default' \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':title -- The new title for the tab:' \
+':title -- The new title for the tab:_default' \
&& ret=0
;;
(set-window-title)
-_arguments "${_arguments_options[@]}" \
-'(--pane-id)--window-id=[Specify the target window by its id]:WINDOW_ID: ' \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'(--pane-id)--window-id=[Specify the target window by its id]:WINDOW_ID:_default' \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':title -- The new title for the window:' \
+':title -- The new title for the window:_default' \
&& ret=0
;;
(rename-workspace)
-_arguments "${_arguments_options[@]}" \
-'--workspace=[Specify the workspace to rename]:WORKSPACE: ' \
-'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--workspace=[Specify the workspace to rename]:WORKSPACE:_default' \
+'--pane-id=[Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
-':new_workspace -- The new name for the workspace:' \
+':new_workspace -- The new name for the workspace:_default' \
&& ret=0
;;
(zoom-pane)
-_arguments "${_arguments_options[@]}" \
-'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
+_arguments "${_arguments_options[@]}" : \
+'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID:_default' \
'(--unzoom --toggle)--zoom[Zooms the pane if it wasn'\''t already zoomed]' \
'(--zoom --toggle)--unzoom[Unzooms the pane if it was zoomed]' \
'(--zoom --unzoom)--toggle[Toggles the zoom state of the pane]' \
@@ -311,8 +311,8 @@ _arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
-_arguments "${_arguments_options[@]}" \
-":: :_wezterm__cli__help_commands" \
+_arguments "${_arguments_options[@]}" : \
+":: :_thinkterm__cli__help_commands" \
"*::: :->help" \
&& ret=0
@@ -320,86 +320,86 @@ _arguments "${_arguments_options[@]}" \
(help)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
- curcontext="${curcontext%:*:*}:wezterm-cli-help-command-$line[1]:"
+ curcontext="${curcontext%:*:*}:thinkterm-cli-help-command-$line[1]:"
case $line[1] in
(list)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-clients)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(proxy)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tlscreds)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane-to-new-tab)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(split-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(spawn)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send-text)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-text)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-pane-direction)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-pane-direction)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(kill-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(adjust-pane-size)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-tab)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-tab-title)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-window-title)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-workspace)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(zoom-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
@@ -411,19 +411,19 @@ esac
esac
;;
(imgcat)
-_arguments "${_arguments_options[@]}" \
-'--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: ' \
-'--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: ' \
-'--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: ' \
+_arguments "${_arguments_options[@]}" : \
+'--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:_default' \
+'--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:_default' \
+'--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:_default' \
'--tmux-passthru=[How to manage passing the escape through to tmux]:TMUX_PASSTHRU:(disable enable detect)' \
-'--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: ' \
+'--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 ThinkTerm. Note that resampling the image here will reduce any animated images to a single frame]:MAX_PIXELS:_default' \
'--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)' \
'--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)' \
-'--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: ' \
+'--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:_default' \
'--no-preserve-aspect-ratio[Do not respect the aspect ratio. The default is to respect the aspect ratio]' \
'--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]' \
'--hold[Wait for enter/escape/ctrl-c/ctrl-d to be pressed after displaying the image]' \
-'--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]' \
+'--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 ThinkTerm]' \
'--show-resample-timing[When resampling or resizing, display some diagnostics around the timing/performance of that operation]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
@@ -431,7 +431,7 @@ _arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-working-directory)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--tmux-passthru=[How to manage passing the escape through to tmux]:TMUX_PASSTHRU:(disable enable detect)' \
'-h[Print help]' \
'--help[Print help]' \
@@ -440,15 +440,16 @@ _arguments "${_arguments_options[@]}" \
&& ret=0
;;
(record)
-_arguments "${_arguments_options[@]}" \
-'--cwd=[Start in the specified directory, instead of the default_cwd defined by your wezterm configuration]:CWD:_files' \
+_arguments "${_arguments_options[@]}" : \
+'--cwd=[Start in the specified directory, instead of the default_cwd defined by your ThinkTerm configuration]:CWD:_files' \
+'-o+[Save asciicast to the specified file, instead of using a random file name in the temp directory]:OUTFILE:_files' \
'-h[Print help]' \
'--help[Print help]' \
-'*::prog -- Start prog instead of the default_prog defined by your wezterm configuration:' \
+'*::prog -- Start prog instead of the default_prog defined by your ThinkTerm configuration:_default' \
&& ret=0
;;
(replay)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--explain[Explain what is being sent/received]' \
'(--explain)--explain-only[Don'\''t replay, just show the explanation]' \
'(--explain)--cat[Just emit raw escape sequences all at once, with no timing information]' \
@@ -458,15 +459,15 @@ _arguments "${_arguments_options[@]}" \
&& ret=0
;;
(shell-completion)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
'--shell=[Which shell to generate for]:SHELL:(bash elvish fish power-shell zsh fig)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
-_arguments "${_arguments_options[@]}" \
-":: :_wezterm__help_commands" \
+_arguments "${_arguments_options[@]}" : \
+":: :_thinkterm__help_commands" \
"*::: :->help" \
&& ret=0
@@ -474,39 +475,39 @@ _arguments "${_arguments_options[@]}" \
(help)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
- curcontext="${curcontext%:*:*}:wezterm-help-command-$line[1]:"
+ curcontext="${curcontext%:*:*}:thinkterm-help-command-$line[1]:"
case $line[1] in
(start)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(blocking-start)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ssh)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(serial)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(connect)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ls-fonts)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-keys)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cli)
-_arguments "${_arguments_options[@]}" \
-":: :_wezterm__help__cli_commands" \
+_arguments "${_arguments_options[@]}" : \
+":: :_thinkterm__help__cli_commands" \
"*::: :->cli" \
&& ret=0
@@ -514,82 +515,82 @@ _arguments "${_arguments_options[@]}" \
(cli)
words=($line[1] "${words[@]}")
(( CURRENT += 1 ))
- curcontext="${curcontext%:*:*}:wezterm-help-cli-command-$line[1]:"
+ curcontext="${curcontext%:*:*}:thinkterm-help-cli-command-$line[1]:"
case $line[1] in
(list)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list-clients)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(proxy)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tlscreds)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move-pane-to-new-tab)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(split-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(spawn)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send-text)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-text)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-pane-direction)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-pane-direction)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(kill-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(adjust-pane-size)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(activate-tab)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-tab-title)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-window-title)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename-workspace)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(zoom-pane)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
@@ -597,27 +598,27 @@ _arguments "${_arguments_options[@]}" \
esac
;;
(imgcat)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-working-directory)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(record)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(replay)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shell-completion)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
-_arguments "${_arguments_options[@]}" \
+_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
esac
@@ -629,14 +630,14 @@ esac
esac
}
-(( $+functions[_wezterm_commands] )) ||
-_wezterm_commands() {
+(( $+functions[_thinkterm_commands] )) ||
+_thinkterm_commands() {
local commands; commands=(
'start:Start the GUI, optionally running an alternative program \[aliases\: -e\]' \
'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>' \
'ssh:Establish an ssh session' \
'serial:Open a serial port' \
-'connect:Connect to wezterm multiplexer' \
+'connect:Connect to ThinkTerm multiplexer' \
'ls-fonts:Display information about fonts' \
'show-keys:Show key assignments' \
'cli:Interact with experimental mux server' \
@@ -647,90 +648,23 @@ _wezterm_commands() {
'shell-completion:Generate shell completion information' \
'help:Print this message or the help of the given subcommand(s)' \
)
- _describe -t commands 'wezterm commands' commands "$@"
+ _describe -t commands 'thinkterm commands' commands "$@"
}
-(( $+functions[_wezterm__cli__activate-pane_commands] )) ||
-_wezterm__cli__activate-pane_commands() {
+(( $+functions[_thinkterm__blocking-start_commands] )) ||
+_thinkterm__blocking-start_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli activate-pane commands' commands "$@"
+ _describe -t commands 'thinkterm blocking-start commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__activate-pane_commands] )) ||
-_wezterm__cli__help__activate-pane_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli help activate-pane commands' commands "$@"
-}
-(( $+functions[_wezterm__help__cli__activate-pane_commands] )) ||
-_wezterm__help__cli__activate-pane_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm help cli activate-pane commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__activate-pane-direction_commands] )) ||
-_wezterm__cli__activate-pane-direction_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli activate-pane-direction commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__help__activate-pane-direction_commands] )) ||
-_wezterm__cli__help__activate-pane-direction_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli help activate-pane-direction commands' commands "$@"
-}
-(( $+functions[_wezterm__help__cli__activate-pane-direction_commands] )) ||
-_wezterm__help__cli__activate-pane-direction_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm help cli activate-pane-direction commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__activate-tab_commands] )) ||
-_wezterm__cli__activate-tab_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli activate-tab commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__help__activate-tab_commands] )) ||
-_wezterm__cli__help__activate-tab_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli help activate-tab commands' commands "$@"
-}
-(( $+functions[_wezterm__help__cli__activate-tab_commands] )) ||
-_wezterm__help__cli__activate-tab_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm help cli activate-tab commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__adjust-pane-size_commands] )) ||
-_wezterm__cli__adjust-pane-size_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli adjust-pane-size commands' commands "$@"
-}
-(( $+functions[_wezterm__cli__help__adjust-pane-size_commands] )) ||
-_wezterm__cli__help__adjust-pane-size_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm cli help adjust-pane-size commands' commands "$@"
-}
-(( $+functions[_wezterm__help__cli__adjust-pane-size_commands] )) ||
-_wezterm__help__cli__adjust-pane-size_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm help cli adjust-pane-size commands' commands "$@"
-}
-(( $+functions[_wezterm__blocking-start_commands] )) ||
-_wezterm__blocking-start_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm blocking-start commands' commands "$@"
-}
-(( $+functions[_wezterm__help__blocking-start_commands] )) ||
-_wezterm__help__blocking-start_commands() {
- local commands; commands=()
- _describe -t commands 'wezterm help blocking-start commands' commands "$@"
-}
-(( $+functions[_wezterm__cli_commands] )) ||
-_wezterm__cli_commands() {
+(( $+functions[_thinkterm__cli_commands] )) ||
+_thinkterm__cli_commands() {
local commands; commands=(
'list:list windows, tabs and panes' \
'list-clients:list clients' \
'proxy:start rpc proxy pipe' \
'tlscreds:obtain tls credentials' \
'move-pane-to-new-tab:Move a pane into a new tab' \
-'split-pane:split the current pane.
-Outputs the pane-id for the newly created pane on success' \
-'spawn:Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success' \
+'split-pane:split the current pane. Outputs the pane-id for the newly created pane on success' \
+'spawn:Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success' \
'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' \
'get-text:Retrieves the textual content of a pane and output it to stdout' \
'activate-pane-direction:Activate an adjacent pane in the specified direction' \
@@ -745,20 +679,48 @@ Outputs the pane-id for the newly created pane on success' \
'zoom-pane:Zoom, unzoom, or toggle zoom state' \
'help:Print this message or the help of the given subcommand(s)' \
)
- _describe -t commands 'wezterm cli commands' commands "$@"
+ _describe -t commands 'thinkterm cli commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__activate-pane_commands] )) ||
+_thinkterm__cli__activate-pane_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli activate-pane commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli_commands] )) ||
-_wezterm__help__cli_commands() {
+(( $+functions[_thinkterm__cli__activate-pane-direction_commands] )) ||
+_thinkterm__cli__activate-pane-direction_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli activate-pane-direction commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__activate-tab_commands] )) ||
+_thinkterm__cli__activate-tab_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli activate-tab commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__adjust-pane-size_commands] )) ||
+_thinkterm__cli__adjust-pane-size_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli adjust-pane-size commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__get-pane-direction_commands] )) ||
+_thinkterm__cli__get-pane-direction_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli get-pane-direction commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__get-text_commands] )) ||
+_thinkterm__cli__get-text_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli get-text commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__help_commands] )) ||
+_thinkterm__cli__help_commands() {
local commands; commands=(
'list:list windows, tabs and panes' \
'list-clients:list clients' \
'proxy:start rpc proxy pipe' \
'tlscreds:obtain tls credentials' \
'move-pane-to-new-tab:Move a pane into a new tab' \
-'split-pane:split the current pane.
-Outputs the pane-id for the newly created pane on success' \
-'spawn:Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success' \
+'split-pane:split the current pane. Outputs the pane-id for the newly created pane on success' \
+'spawn:Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success' \
'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' \
'get-text:Retrieves the textual content of a pane and output it to stdout' \
'activate-pane-direction:Activate an adjacent pane in the specified direction' \
@@ -771,405 +733,438 @@ Outputs the pane-id for the newly created pane on success' \
'set-window-title:Change the title of a window' \
'rename-workspace:Rename a workspace' \
'zoom-pane:Zoom, unzoom, or toggle zoom state' \
+'help:Print this message or the help of the given subcommand(s)' \
)
- _describe -t commands 'wezterm help cli commands' commands "$@"
+ _describe -t commands 'thinkterm cli help commands' commands "$@"
}
-(( $+functions[_wezterm__connect_commands] )) ||
-_wezterm__connect_commands() {
+(( $+functions[_thinkterm__cli__help__activate-pane_commands] )) ||
+_thinkterm__cli__help__activate-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm connect commands' commands "$@"
+ _describe -t commands 'thinkterm cli help activate-pane commands' commands "$@"
}
-(( $+functions[_wezterm__help__connect_commands] )) ||
-_wezterm__help__connect_commands() {
+(( $+functions[_thinkterm__cli__help__activate-pane-direction_commands] )) ||
+_thinkterm__cli__help__activate-pane-direction_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help connect commands' commands "$@"
+ _describe -t commands 'thinkterm cli help activate-pane-direction commands' commands "$@"
}
-(( $+functions[_wezterm__cli__get-pane-direction_commands] )) ||
-_wezterm__cli__get-pane-direction_commands() {
+(( $+functions[_thinkterm__cli__help__activate-tab_commands] )) ||
+_thinkterm__cli__help__activate-tab_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli get-pane-direction commands' commands "$@"
+ _describe -t commands 'thinkterm cli help activate-tab commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__get-pane-direction_commands] )) ||
-_wezterm__cli__help__get-pane-direction_commands() {
+(( $+functions[_thinkterm__cli__help__adjust-pane-size_commands] )) ||
+_thinkterm__cli__help__adjust-pane-size_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help get-pane-direction commands' commands "$@"
+ _describe -t commands 'thinkterm cli help adjust-pane-size commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__get-pane-direction_commands] )) ||
-_wezterm__help__cli__get-pane-direction_commands() {
+(( $+functions[_thinkterm__cli__help__get-pane-direction_commands] )) ||
+_thinkterm__cli__help__get-pane-direction_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli get-pane-direction commands' commands "$@"
+ _describe -t commands 'thinkterm cli help get-pane-direction commands' commands "$@"
}
-(( $+functions[_wezterm__cli__get-text_commands] )) ||
-_wezterm__cli__get-text_commands() {
+(( $+functions[_thinkterm__cli__help__get-text_commands] )) ||
+_thinkterm__cli__help__get-text_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli get-text commands' commands "$@"
+ _describe -t commands 'thinkterm cli help get-text commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__get-text_commands] )) ||
-_wezterm__cli__help__get-text_commands() {
+(( $+functions[_thinkterm__cli__help__help_commands] )) ||
+_thinkterm__cli__help__help_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help get-text commands' commands "$@"
+ _describe -t commands 'thinkterm cli help help commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__get-text_commands] )) ||
-_wezterm__help__cli__get-text_commands() {
+(( $+functions[_thinkterm__cli__help__kill-pane_commands] )) ||
+_thinkterm__cli__help__kill-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli get-text commands' commands "$@"
+ _describe -t commands 'thinkterm cli help kill-pane commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help_commands] )) ||
-_wezterm__cli__help_commands() {
- local commands; commands=(
-'list:list windows, tabs and panes' \
-'list-clients:list clients' \
-'proxy:start rpc proxy pipe' \
-'tlscreds:obtain tls credentials' \
-'move-pane-to-new-tab:Move a pane into a new tab' \
-'split-pane:split the current pane.
-Outputs the pane-id for the newly created pane on success' \
-'spawn:Spawn a command into a new window or tab
-Outputs the pane-id for the newly created pane on success' \
-'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' \
-'get-text:Retrieves the textual content of a pane and output it to stdout' \
-'activate-pane-direction:Activate an adjacent pane in the specified direction' \
-'get-pane-direction:Determine the adjacent pane in the specified direction' \
-'kill-pane:Kill a pane' \
-'activate-pane:Activate (focus) a pane' \
-'adjust-pane-size:Adjust the size of a pane directionally' \
-'activate-tab:Activate a tab' \
-'set-tab-title:Change the title of a tab' \
-'set-window-title:Change the title of a window' \
-'rename-workspace:Rename a workspace' \
-'zoom-pane:Zoom, unzoom, or toggle zoom state' \
-'help:Print this message or the help of the given subcommand(s)' \
- )
- _describe -t commands 'wezterm cli help commands' commands "$@"
+(( $+functions[_thinkterm__cli__help__list_commands] )) ||
+_thinkterm__cli__help__list_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli help list commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__help_commands] )) ||
-_wezterm__cli__help__help_commands() {
+(( $+functions[_thinkterm__cli__help__list-clients_commands] )) ||
+_thinkterm__cli__help__list-clients_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help help commands' commands "$@"
+ _describe -t commands 'thinkterm cli help list-clients commands' commands "$@"
}
-(( $+functions[_wezterm__help_commands] )) ||
-_wezterm__help_commands() {
- local commands; commands=(
-'start:Start the GUI, optionally running an alternative program \[aliases\: -e\]' \
-'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>' \
-'ssh:Establish an ssh session' \
-'serial:Open a serial port' \
-'connect:Connect to wezterm multiplexer' \
-'ls-fonts:Display information about fonts' \
-'show-keys:Show key assignments' \
-'cli:Interact with experimental mux server' \
-'imgcat:Output an image to the terminal' \
-'set-working-directory:Advise the terminal of the current working directory by emitting an OSC 7 escape sequence' \
-'record:Record a terminal session as an asciicast' \
-'replay:Replay an asciicast terminal session' \
-'shell-completion:Generate shell completion information' \
-'help:Print this message or the help of the given subcommand(s)' \
- )
- _describe -t commands 'wezterm help commands' commands "$@"
+(( $+functions[_thinkterm__cli__help__move-pane-to-new-tab_commands] )) ||
+_thinkterm__cli__help__move-pane-to-new-tab_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli help move-pane-to-new-tab commands' commands "$@"
}
-(( $+functions[_wezterm__help__help_commands] )) ||
-_wezterm__help__help_commands() {
+(( $+functions[_thinkterm__cli__help__proxy_commands] )) ||
+_thinkterm__cli__help__proxy_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help help commands' commands "$@"
+ _describe -t commands 'thinkterm cli help proxy commands' commands "$@"
}
-(( $+functions[_wezterm__help__imgcat_commands] )) ||
-_wezterm__help__imgcat_commands() {
+(( $+functions[_thinkterm__cli__help__rename-workspace_commands] )) ||
+_thinkterm__cli__help__rename-workspace_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help imgcat commands' commands "$@"
+ _describe -t commands 'thinkterm cli help rename-workspace commands' commands "$@"
}
-(( $+functions[_wezterm__imgcat_commands] )) ||
-_wezterm__imgcat_commands() {
+(( $+functions[_thinkterm__cli__help__send-text_commands] )) ||
+_thinkterm__cli__help__send-text_commands() {
local commands; commands=()
- _describe -t commands 'wezterm imgcat commands' commands "$@"
+ _describe -t commands 'thinkterm cli help send-text commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__kill-pane_commands] )) ||
-_wezterm__cli__help__kill-pane_commands() {
+(( $+functions[_thinkterm__cli__help__set-tab-title_commands] )) ||
+_thinkterm__cli__help__set-tab-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help kill-pane commands' commands "$@"
+ _describe -t commands 'thinkterm cli help set-tab-title commands' commands "$@"
}
-(( $+functions[_wezterm__cli__kill-pane_commands] )) ||
-_wezterm__cli__kill-pane_commands() {
+(( $+functions[_thinkterm__cli__help__set-window-title_commands] )) ||
+_thinkterm__cli__help__set-window-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli kill-pane commands' commands "$@"
+ _describe -t commands 'thinkterm cli help set-window-title commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__kill-pane_commands] )) ||
-_wezterm__help__cli__kill-pane_commands() {
+(( $+functions[_thinkterm__cli__help__spawn_commands] )) ||
+_thinkterm__cli__help__spawn_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli kill-pane commands' commands "$@"
+ _describe -t commands 'thinkterm cli help spawn commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__list_commands] )) ||
-_wezterm__cli__help__list_commands() {
+(( $+functions[_thinkterm__cli__help__split-pane_commands] )) ||
+_thinkterm__cli__help__split-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help list commands' commands "$@"
+ _describe -t commands 'thinkterm cli help split-pane commands' commands "$@"
}
-(( $+functions[_wezterm__cli__list_commands] )) ||
-_wezterm__cli__list_commands() {
+(( $+functions[_thinkterm__cli__help__tlscreds_commands] )) ||
+_thinkterm__cli__help__tlscreds_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli list commands' commands "$@"
+ _describe -t commands 'thinkterm cli help tlscreds commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__list_commands] )) ||
-_wezterm__help__cli__list_commands() {
+(( $+functions[_thinkterm__cli__help__zoom-pane_commands] )) ||
+_thinkterm__cli__help__zoom-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli list commands' commands "$@"
+ _describe -t commands 'thinkterm cli help zoom-pane commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__list-clients_commands] )) ||
-_wezterm__cli__help__list-clients_commands() {
+(( $+functions[_thinkterm__cli__kill-pane_commands] )) ||
+_thinkterm__cli__kill-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help list-clients commands' commands "$@"
+ _describe -t commands 'thinkterm cli kill-pane commands' commands "$@"
}
-(( $+functions[_wezterm__cli__list-clients_commands] )) ||
-_wezterm__cli__list-clients_commands() {
+(( $+functions[_thinkterm__cli__list_commands] )) ||
+_thinkterm__cli__list_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli list-clients commands' commands "$@"
+ _describe -t commands 'thinkterm cli list commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__list-clients_commands] )) ||
-_wezterm__help__cli__list-clients_commands() {
+(( $+functions[_thinkterm__cli__list-clients_commands] )) ||
+_thinkterm__cli__list-clients_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli list-clients commands' commands "$@"
+ _describe -t commands 'thinkterm cli list-clients commands' commands "$@"
}
-(( $+functions[_wezterm__help__ls-fonts_commands] )) ||
-_wezterm__help__ls-fonts_commands() {
+(( $+functions[_thinkterm__cli__move-pane-to-new-tab_commands] )) ||
+_thinkterm__cli__move-pane-to-new-tab_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help ls-fonts commands' commands "$@"
+ _describe -t commands 'thinkterm cli move-pane-to-new-tab commands' commands "$@"
}
-(( $+functions[_wezterm__ls-fonts_commands] )) ||
-_wezterm__ls-fonts_commands() {
+(( $+functions[_thinkterm__cli__proxy_commands] )) ||
+_thinkterm__cli__proxy_commands() {
local commands; commands=()
- _describe -t commands 'wezterm ls-fonts commands' commands "$@"
+ _describe -t commands 'thinkterm cli proxy commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__move-pane-to-new-tab_commands] )) ||
-_wezterm__cli__help__move-pane-to-new-tab_commands() {
+(( $+functions[_thinkterm__cli__rename-workspace_commands] )) ||
+_thinkterm__cli__rename-workspace_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help move-pane-to-new-tab commands' commands "$@"
+ _describe -t commands 'thinkterm cli rename-workspace commands' commands "$@"
}
-(( $+functions[_wezterm__cli__move-pane-to-new-tab_commands] )) ||
-_wezterm__cli__move-pane-to-new-tab_commands() {
+(( $+functions[_thinkterm__cli__send-text_commands] )) ||
+_thinkterm__cli__send-text_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli move-pane-to-new-tab commands' commands "$@"
+ _describe -t commands 'thinkterm cli send-text commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__move-pane-to-new-tab_commands] )) ||
-_wezterm__help__cli__move-pane-to-new-tab_commands() {
+(( $+functions[_thinkterm__cli__set-tab-title_commands] )) ||
+_thinkterm__cli__set-tab-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli move-pane-to-new-tab commands' commands "$@"
+ _describe -t commands 'thinkterm cli set-tab-title commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__proxy_commands] )) ||
-_wezterm__cli__help__proxy_commands() {
+(( $+functions[_thinkterm__cli__set-window-title_commands] )) ||
+_thinkterm__cli__set-window-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help proxy commands' commands "$@"
+ _describe -t commands 'thinkterm cli set-window-title commands' commands "$@"
}
-(( $+functions[_wezterm__cli__proxy_commands] )) ||
-_wezterm__cli__proxy_commands() {
+(( $+functions[_thinkterm__cli__spawn_commands] )) ||
+_thinkterm__cli__spawn_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli proxy commands' commands "$@"
+ _describe -t commands 'thinkterm cli spawn commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__split-pane_commands] )) ||
+_thinkterm__cli__split-pane_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli split-pane commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__tlscreds_commands] )) ||
+_thinkterm__cli__tlscreds_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli tlscreds commands' commands "$@"
+}
+(( $+functions[_thinkterm__cli__zoom-pane_commands] )) ||
+_thinkterm__cli__zoom-pane_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm cli zoom-pane commands' commands "$@"
+}
+(( $+functions[_thinkterm__connect_commands] )) ||
+_thinkterm__connect_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm connect commands' commands "$@"
+}
+(( $+functions[_thinkterm__help_commands] )) ||
+_thinkterm__help_commands() {
+ local commands; commands=(
+'start:Start the GUI, optionally running an alternative program \[aliases\: -e\]' \
+'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>' \
+'ssh:Establish an ssh session' \
+'serial:Open a serial port' \
+'connect:Connect to ThinkTerm multiplexer' \
+'ls-fonts:Display information about fonts' \
+'show-keys:Show key assignments' \
+'cli:Interact with experimental mux server' \
+'imgcat:Output an image to the terminal' \
+'set-working-directory:Advise the terminal of the current working directory by emitting an OSC 7 escape sequence' \
+'record:Record a terminal session as an asciicast' \
+'replay:Replay an asciicast terminal session' \
+'shell-completion:Generate shell completion information' \
+'help:Print this message or the help of the given subcommand(s)' \
+ )
+ _describe -t commands 'thinkterm help commands' commands "$@"
+}
+(( $+functions[_thinkterm__help__blocking-start_commands] )) ||
+_thinkterm__help__blocking-start_commands() {
+ local commands; commands=()
+ _describe -t commands 'thinkterm help blocking-start commands' commands "$@"
+}
+(( $+functions[_thinkterm__help__cli_commands] )) ||
+_thinkterm__help__cli_commands() {
+ local commands; commands=(
+'list:list windows, tabs and panes' \
+'list-clients:list clients' \
+'proxy:start rpc proxy pipe' \
+'tlscreds:obtain tls credentials' \
+'move-pane-to-new-tab:Move a pane into a new tab' \
+'split-pane:split the current pane. Outputs the pane-id for the newly created pane on success' \
+'spawn:Spawn a command into a new window or tab Outputs the pane-id for the newly created pane on success' \
+'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' \
+'get-text:Retrieves the textual content of a pane and output it to stdout' \
+'activate-pane-direction:Activate an adjacent pane in the specified direction' \
+'get-pane-direction:Determine the adjacent pane in the specified direction' \
+'kill-pane:Kill a pane' \
+'activate-pane:Activate (focus) a pane' \
+'adjust-pane-size:Adjust the size of a pane directionally' \
+'activate-tab:Activate a tab' \
+'set-tab-title:Change the title of a tab' \
+'set-window-title:Change the title of a window' \
+'rename-workspace:Rename a workspace' \
+'zoom-pane:Zoom, unzoom, or toggle zoom state' \
+ )
+ _describe -t commands 'thinkterm help cli commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__proxy_commands] )) ||
-_wezterm__help__cli__proxy_commands() {
+(( $+functions[_thinkterm__help__cli__activate-pane_commands] )) ||
+_thinkterm__help__cli__activate-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli proxy commands' commands "$@"
+ _describe -t commands 'thinkterm help cli activate-pane commands' commands "$@"
}
-(( $+functions[_wezterm__help__record_commands] )) ||
-_wezterm__help__record_commands() {
+(( $+functions[_thinkterm__help__cli__activate-pane-direction_commands] )) ||
+_thinkterm__help__cli__activate-pane-direction_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help record commands' commands "$@"
+ _describe -t commands 'thinkterm help cli activate-pane-direction commands' commands "$@"
}
-(( $+functions[_wezterm__record_commands] )) ||
-_wezterm__record_commands() {
+(( $+functions[_thinkterm__help__cli__activate-tab_commands] )) ||
+_thinkterm__help__cli__activate-tab_commands() {
local commands; commands=()
- _describe -t commands 'wezterm record commands' commands "$@"
+ _describe -t commands 'thinkterm help cli activate-tab commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__rename-workspace_commands] )) ||
-_wezterm__cli__help__rename-workspace_commands() {
+(( $+functions[_thinkterm__help__cli__adjust-pane-size_commands] )) ||
+_thinkterm__help__cli__adjust-pane-size_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help rename-workspace commands' commands "$@"
+ _describe -t commands 'thinkterm help cli adjust-pane-size commands' commands "$@"
}
-(( $+functions[_wezterm__cli__rename-workspace_commands] )) ||
-_wezterm__cli__rename-workspace_commands() {
+(( $+functions[_thinkterm__help__cli__get-pane-direction_commands] )) ||
+_thinkterm__help__cli__get-pane-direction_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli rename-workspace commands' commands "$@"
+ _describe -t commands 'thinkterm help cli get-pane-direction commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__rename-workspace_commands] )) ||
-_wezterm__help__cli__rename-workspace_commands() {
+(( $+functions[_thinkterm__help__cli__get-text_commands] )) ||
+_thinkterm__help__cli__get-text_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli rename-workspace commands' commands "$@"
+ _describe -t commands 'thinkterm help cli get-text commands' commands "$@"
}
-(( $+functions[_wezterm__help__replay_commands] )) ||
-_wezterm__help__replay_commands() {
+(( $+functions[_thinkterm__help__cli__kill-pane_commands] )) ||
+_thinkterm__help__cli__kill-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help replay commands' commands "$@"
+ _describe -t commands 'thinkterm help cli kill-pane commands' commands "$@"
}
-(( $+functions[_wezterm__replay_commands] )) ||
-_wezterm__replay_commands() {
+(( $+functions[_thinkterm__help__cli__list_commands] )) ||
+_thinkterm__help__cli__list_commands() {
local commands; commands=()
- _describe -t commands 'wezterm replay commands' commands "$@"
+ _describe -t commands 'thinkterm help cli list commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__send-text_commands] )) ||
-_wezterm__cli__help__send-text_commands() {
+(( $+functions[_thinkterm__help__cli__list-clients_commands] )) ||
+_thinkterm__help__cli__list-clients_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help send-text commands' commands "$@"
+ _describe -t commands 'thinkterm help cli list-clients commands' commands "$@"
}
-(( $+functions[_wezterm__cli__send-text_commands] )) ||
-_wezterm__cli__send-text_commands() {
+(( $+functions[_thinkterm__help__cli__move-pane-to-new-tab_commands] )) ||
+_thinkterm__help__cli__move-pane-to-new-tab_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli send-text commands' commands "$@"
+ _describe -t commands 'thinkterm help cli move-pane-to-new-tab commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__send-text_commands] )) ||
-_wezterm__help__cli__send-text_commands() {
+(( $+functions[_thinkterm__help__cli__proxy_commands] )) ||
+_thinkterm__help__cli__proxy_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli send-text commands' commands "$@"
+ _describe -t commands 'thinkterm help cli proxy commands' commands "$@"
}
-(( $+functions[_wezterm__help__serial_commands] )) ||
-_wezterm__help__serial_commands() {
+(( $+functions[_thinkterm__help__cli__rename-workspace_commands] )) ||
+_thinkterm__help__cli__rename-workspace_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help serial commands' commands "$@"
+ _describe -t commands 'thinkterm help cli rename-workspace commands' commands "$@"
}
-(( $+functions[_wezterm__serial_commands] )) ||
-_wezterm__serial_commands() {
+(( $+functions[_thinkterm__help__cli__send-text_commands] )) ||
+_thinkterm__help__cli__send-text_commands() {
local commands; commands=()
- _describe -t commands 'wezterm serial commands' commands "$@"
+ _describe -t commands 'thinkterm help cli send-text commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__set-tab-title_commands] )) ||
-_wezterm__cli__help__set-tab-title_commands() {
+(( $+functions[_thinkterm__help__cli__set-tab-title_commands] )) ||
+_thinkterm__help__cli__set-tab-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help set-tab-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli set-tab-title commands' commands "$@"
}
-(( $+functions[_wezterm__cli__set-tab-title_commands] )) ||
-_wezterm__cli__set-tab-title_commands() {
+(( $+functions[_thinkterm__help__cli__set-window-title_commands] )) ||
+_thinkterm__help__cli__set-window-title_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli set-tab-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli set-window-title commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__set-tab-title_commands] )) ||
-_wezterm__help__cli__set-tab-title_commands() {
+(( $+functions[_thinkterm__help__cli__spawn_commands] )) ||
+_thinkterm__help__cli__spawn_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli set-tab-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli spawn commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__set-window-title_commands] )) ||
-_wezterm__cli__help__set-window-title_commands() {
+(( $+functions[_thinkterm__help__cli__split-pane_commands] )) ||
+_thinkterm__help__cli__split-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help set-window-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli split-pane commands' commands "$@"
}
-(( $+functions[_wezterm__cli__set-window-title_commands] )) ||
-_wezterm__cli__set-window-title_commands() {
+(( $+functions[_thinkterm__help__cli__tlscreds_commands] )) ||
+_thinkterm__help__cli__tlscreds_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli set-window-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli tlscreds commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__set-window-title_commands] )) ||
-_wezterm__help__cli__set-window-title_commands() {
+(( $+functions[_thinkterm__help__cli__zoom-pane_commands] )) ||
+_thinkterm__help__cli__zoom-pane_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli set-window-title commands' commands "$@"
+ _describe -t commands 'thinkterm help cli zoom-pane commands' commands "$@"
}
-(( $+functions[_wezterm__help__set-working-directory_commands] )) ||
-_wezterm__help__set-working-directory_commands() {
+(( $+functions[_thinkterm__help__connect_commands] )) ||
+_thinkterm__help__connect_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help set-working-directory commands' commands "$@"
+ _describe -t commands 'thinkterm help connect commands' commands "$@"
}
-(( $+functions[_wezterm__set-working-directory_commands] )) ||
-_wezterm__set-working-directory_commands() {
+(( $+functions[_thinkterm__help__help_commands] )) ||
+_thinkterm__help__help_commands() {
local commands; commands=()
- _describe -t commands 'wezterm set-working-directory commands' commands "$@"
+ _describe -t commands 'thinkterm help help commands' commands "$@"
}
-(( $+functions[_wezterm__help__shell-completion_commands] )) ||
-_wezterm__help__shell-completion_commands() {
+(( $+functions[_thinkterm__help__imgcat_commands] )) ||
+_thinkterm__help__imgcat_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help shell-completion commands' commands "$@"
+ _describe -t commands 'thinkterm help imgcat commands' commands "$@"
}
-(( $+functions[_wezterm__shell-completion_commands] )) ||
-_wezterm__shell-completion_commands() {
+(( $+functions[_thinkterm__help__ls-fonts_commands] )) ||
+_thinkterm__help__ls-fonts_commands() {
local commands; commands=()
- _describe -t commands 'wezterm shell-completion commands' commands "$@"
+ _describe -t commands 'thinkterm help ls-fonts commands' commands "$@"
}
-(( $+functions[_wezterm__help__show-keys_commands] )) ||
-_wezterm__help__show-keys_commands() {
+(( $+functions[_thinkterm__help__record_commands] )) ||
+_thinkterm__help__record_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help show-keys commands' commands "$@"
+ _describe -t commands 'thinkterm help record commands' commands "$@"
}
-(( $+functions[_wezterm__show-keys_commands] )) ||
-_wezterm__show-keys_commands() {
+(( $+functions[_thinkterm__help__replay_commands] )) ||
+_thinkterm__help__replay_commands() {
local commands; commands=()
- _describe -t commands 'wezterm show-keys commands' commands "$@"
+ _describe -t commands 'thinkterm help replay commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__spawn_commands] )) ||
-_wezterm__cli__help__spawn_commands() {
+(( $+functions[_thinkterm__help__serial_commands] )) ||
+_thinkterm__help__serial_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help spawn commands' commands "$@"
+ _describe -t commands 'thinkterm help serial commands' commands "$@"
}
-(( $+functions[_wezterm__cli__spawn_commands] )) ||
-_wezterm__cli__spawn_commands() {
+(( $+functions[_thinkterm__help__set-working-directory_commands] )) ||
+_thinkterm__help__set-working-directory_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli spawn commands' commands "$@"
+ _describe -t commands 'thinkterm help set-working-directory commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__spawn_commands] )) ||
-_wezterm__help__cli__spawn_commands() {
+(( $+functions[_thinkterm__help__shell-completion_commands] )) ||
+_thinkterm__help__shell-completion_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli spawn commands' commands "$@"
+ _describe -t commands 'thinkterm help shell-completion commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__split-pane_commands] )) ||
-_wezterm__cli__help__split-pane_commands() {
+(( $+functions[_thinkterm__help__show-keys_commands] )) ||
+_thinkterm__help__show-keys_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help split-pane commands' commands "$@"
+ _describe -t commands 'thinkterm help show-keys commands' commands "$@"
}
-(( $+functions[_wezterm__cli__split-pane_commands] )) ||
-_wezterm__cli__split-pane_commands() {
+(( $+functions[_thinkterm__help__ssh_commands] )) ||
+_thinkterm__help__ssh_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli split-pane commands' commands "$@"
+ _describe -t commands 'thinkterm help ssh commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__split-pane_commands] )) ||
-_wezterm__help__cli__split-pane_commands() {
+(( $+functions[_thinkterm__help__start_commands] )) ||
+_thinkterm__help__start_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli split-pane commands' commands "$@"
+ _describe -t commands 'thinkterm help start commands' commands "$@"
}
-(( $+functions[_wezterm__help__ssh_commands] )) ||
-_wezterm__help__ssh_commands() {
+(( $+functions[_thinkterm__imgcat_commands] )) ||
+_thinkterm__imgcat_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help ssh commands' commands "$@"
+ _describe -t commands 'thinkterm imgcat commands' commands "$@"
}
-(( $+functions[_wezterm__ssh_commands] )) ||
-_wezterm__ssh_commands() {
+(( $+functions[_thinkterm__ls-fonts_commands] )) ||
+_thinkterm__ls-fonts_commands() {
local commands; commands=()
- _describe -t commands 'wezterm ssh commands' commands "$@"
+ _describe -t commands 'thinkterm ls-fonts commands' commands "$@"
}
-(( $+functions[_wezterm__help__start_commands] )) ||
-_wezterm__help__start_commands() {
+(( $+functions[_thinkterm__record_commands] )) ||
+_thinkterm__record_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help start commands' commands "$@"
+ _describe -t commands 'thinkterm record commands' commands "$@"
}
-(( $+functions[_wezterm__start_commands] )) ||
-_wezterm__start_commands() {
+(( $+functions[_thinkterm__replay_commands] )) ||
+_thinkterm__replay_commands() {
local commands; commands=()
- _describe -t commands 'wezterm start commands' commands "$@"
+ _describe -t commands 'thinkterm replay commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__tlscreds_commands] )) ||
-_wezterm__cli__help__tlscreds_commands() {
+(( $+functions[_thinkterm__serial_commands] )) ||
+_thinkterm__serial_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help tlscreds commands' commands "$@"
+ _describe -t commands 'thinkterm serial commands' commands "$@"
}
-(( $+functions[_wezterm__cli__tlscreds_commands] )) ||
-_wezterm__cli__tlscreds_commands() {
+(( $+functions[_thinkterm__set-working-directory_commands] )) ||
+_thinkterm__set-working-directory_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli tlscreds commands' commands "$@"
+ _describe -t commands 'thinkterm set-working-directory commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__tlscreds_commands] )) ||
-_wezterm__help__cli__tlscreds_commands() {
+(( $+functions[_thinkterm__shell-completion_commands] )) ||
+_thinkterm__shell-completion_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli tlscreds commands' commands "$@"
+ _describe -t commands 'thinkterm shell-completion commands' commands "$@"
}
-(( $+functions[_wezterm__cli__help__zoom-pane_commands] )) ||
-_wezterm__cli__help__zoom-pane_commands() {
+(( $+functions[_thinkterm__show-keys_commands] )) ||
+_thinkterm__show-keys_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli help zoom-pane commands' commands "$@"
+ _describe -t commands 'thinkterm show-keys commands' commands "$@"
}
-(( $+functions[_wezterm__cli__zoom-pane_commands] )) ||
-_wezterm__cli__zoom-pane_commands() {
+(( $+functions[_thinkterm__ssh_commands] )) ||
+_thinkterm__ssh_commands() {
local commands; commands=()
- _describe -t commands 'wezterm cli zoom-pane commands' commands "$@"
+ _describe -t commands 'thinkterm ssh commands' commands "$@"
}
-(( $+functions[_wezterm__help__cli__zoom-pane_commands] )) ||
-_wezterm__help__cli__zoom-pane_commands() {
+(( $+functions[_thinkterm__start_commands] )) ||
+_thinkterm__start_commands() {
local commands; commands=()
- _describe -t commands 'wezterm help cli zoom-pane commands' commands "$@"
+ _describe -t commands 'thinkterm start commands' commands "$@"
}
-if [ "$funcstack[1]" = "_wezterm" ]; then
- _wezterm "$@"
+if [ "$funcstack[1]" = "_thinkterm" ]; then
+ _thinkterm "$@"
else
- compdef _wezterm wezterm
+ compdef _thinkterm thinkterm wezterm
fi
diff --git a/assets/shell-integration/wezterm.sh b/assets/shell-integration/wezterm.sh
index 3b7d95b8..f4ceb0fb 100644
--- a/assets/shell-integration/wezterm.sh
+++ b/assets/shell-integration/wezterm.sh
@@ -445,14 +445,15 @@ __wezterm_set_user_var() {
}
# This function emits an OSC 7 sequence to inform the terminal
-# of the current working directory. It prefers to use a helper
-# command provided by wezterm if wezterm is installed, but falls
-# back to a simple printf command otherwise.
+# of the current working directory. It prefers the ThinkTerm command,
+# retains wezterm as a compatibility fallback, and emits the sequence
+# directly when neither command is installed.
__wezterm_osc7() {
+ if hash thinkterm 2>/dev/null ; then
+ thinkterm set-working-directory 2>/dev/null && return 0
+ fi
if hash wezterm 2>/dev/null ; then
wezterm set-working-directory 2>/dev/null && return 0
- # If the command failed (perhaps the installed wezterm
- # is too old?) then fall back to the simple version below.
fi
printf "\033]7;file://%s%s\033\\" "${HOSTNAME}" "${PWD}"
}
diff --git a/assets/wezterm-nautilus.py b/assets/wezterm-nautilus.py
index 695510fe..239fd9c1 100644
--- a/assets/wezterm-nautilus.py
+++ b/assets/wezterm-nautilus.py
@@ -35,14 +35,14 @@ class OpenInWezTermAction(GObject.GObject, Nautilus.MenuProvider):
"org.freedesktop.systemd1.Manager", None)
def _open_terminal(self, path):
- cmd = ['wezterm', 'start', '--cwd', path]
+ cmd = ['thinkterm', 'start', '--cwd', path]
child = Gio.Subprocess.new(cmd, Gio.SubprocessFlags.NONE)
if self._systemd:
# Move new terminal into a dedicated systemd scope to make systemd
# track the terminal separately; in particular this makes systemd
# keep a separate CPU and memory account for Wezterm which in turn
# ensures that oomd doesn't take nautilus down if a process in
- # wezterm consumes a lot of memory.
+ # ThinkTerm consumes a lot of memory.
pid = int(child.get_identifier())
props = [("PIDs", GLib.Variant('au', [pid])),
('CollectMode', GLib.Variant('s', 'inactive-or-failed'))]
diff --git a/assets/wezterm.desktop b/assets/wezterm.desktop
index 99ffb8ed..321016b5 100644
--- a/assets/wezterm.desktop
+++ b/assets/wezterm.desktop
@@ -4,8 +4,8 @@ Comment=Workspace-first terminal emulator
Keywords=shell;prompt;command;commandline;cmd;
Icon=com.roversx.thinkterm
StartupWMClass=com.roversx.thinkterm
-TryExec=wezterm
-Exec=wezterm start --class com.roversx.thinkterm --cwd .
+TryExec=thinkterm
+Exec=thinkterm start --class com.roversx.thinkterm --cwd .
Type=Application
Categories=System;TerminalEmulator;Utility;
Terminal=false
diff --git a/ci/PKGBUILD.template b/ci/PKGBUILD.template
index c0ba0535..cbb5924b 100644
--- a/ci/PKGBUILD.template
+++ b/ci/PKGBUILD.template
@@ -11,8 +11,8 @@ pkgdesc='A GPU-accelerated cross-platform terminal emulator and multiplexer impl
arch=('i686' 'x86_64')
url='https://github.com/RoversX/thinkterm'
license=('MIT')
-provides=('wezterm')
-conflicts=('wezterm')
+provides=('thinkterm' 'wezterm')
+conflicts=('thinkterm' 'wezterm')
# Don't strip: it will break the binary and it only saves ~10% anyway
options=('!strip')
makedepends=('fuse')
@@ -51,6 +51,7 @@ build() {
}
package() {
+ install -Dm755 squashfs-root/usr/bin/thinkterm -t "${pkgdir}/usr/bin/"
install -Dm755 squashfs-root/usr/bin/wezterm -t "${pkgdir}/usr/bin/"
install -Dm755 squashfs-root/usr/bin/wezterm-gui -t "${pkgdir}/usr/bin/"
install -Dm755 squashfs-root/usr/bin/wezterm-mux-server -t "${pkgdir}/usr/bin/"
diff --git a/ci/appimage.sh b/ci/appimage.sh
index f075c244..2faac42e 100755
--- a/ci/appimage.sh
+++ b/ci/appimage.sh
@@ -6,6 +6,7 @@ set -e
mkdir AppDir
install -Dsm755 -t AppDir/usr/bin target/release/wezterm-mux-server
+install -Dsm755 -t AppDir/usr/bin target/release/thinkterm
install -Dsm755 -t AppDir/usr/bin target/release/wezterm
install -Dsm755 -t AppDir/usr/bin target/release/wezterm-gui
install -Dsm755 -t AppDir/usr/bin target/release/strip-ansi-escapes
diff --git a/ci/deploy.sh b/ci/deploy.sh
index fc3c7f4c..b3438c6e 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -112,10 +112,12 @@ case $OSTYPE in
fi
rm -rf $zipdir $zipname
mkdir $zipdir
- cp $TARGET_DIR/release/wezterm.exe \
+ cp $TARGET_DIR/release/thinkterm.exe \
+ $TARGET_DIR/release/wezterm.exe \
$TARGET_DIR/release/wezterm-mux-server.exe \
$TARGET_DIR/release/wezterm-gui.exe \
$TARGET_DIR/release/strip-ansi-escapes.exe \
+ $TARGET_DIR/release/thinkterm.pdb \
$TARGET_DIR/release/wezterm.pdb \
assets/windows/conhost/conpty.dll \
assets/windows/conhost/OpenConsole.exe \
@@ -240,14 +242,18 @@ ${BUILD_SECTION}
set -x
cd ${HERE}
mkdir -p %{buildroot}/usr/bin %{buildroot}/etc/profile.d %{buildroot}/usr/share/icons/hicolor/128x128/apps %{buildroot}/usr/share/applications %{buildroot}/usr/share/metainfo %{buildroot}/usr/share/nautilus-python/extensions
-install -Dm755 assets/open-wezterm-here -t %{buildroot}/usr/bin
+install -Dm755 assets/open-thinkterm-here assets/open-wezterm-here -t %{buildroot}/usr/bin
+install -Dsm755 $TARGET_DIR/release/thinkterm -t %{buildroot}/usr/bin
install -Dsm755 $TARGET_DIR/release/wezterm -t %{buildroot}/usr/bin
install -Dsm755 $TARGET_DIR/release/wezterm-gui -t %{buildroot}/usr/bin
install -Dsm755 $TARGET_DIR/release/wezterm-mux-server -t %{buildroot}/usr/bin
install -Dsm755 $TARGET_DIR/release/strip-ansi-escapes -t %{buildroot}/usr/bin
install -Dm644 assets/shell-integration/* -t %{buildroot}/etc/profile.d
-install -Dm644 assets/shell-completion/zsh %{buildroot}/usr/share/zsh/site-functions/_wezterm
-install -Dm644 assets/shell-completion/bash %{buildroot}/etc/bash_completion.d/wezterm
+install -Dm644 assets/shell-completion/zsh %{buildroot}/usr/share/zsh/site-functions/_thinkterm
+install -Dm644 assets/shell-completion/bash %{buildroot}/etc/bash_completion.d/thinkterm
+install -Dm644 assets/shell-completion/fish %{buildroot}/usr/share/fish/vendor_completions.d/thinkterm.fish
+ln -s thinkterm %{buildroot}/etc/bash_completion.d/wezterm
+ln -s thinkterm.fish %{buildroot}/usr/share/fish/vendor_completions.d/wezterm.fish
install -Dm644 assets/icon/terminal.png %{buildroot}/usr/share/icons/hicolor/128x128/apps/com.roversx.thinkterm.png
install -Dm644 assets/wezterm.desktop %{buildroot}/usr/share/applications/com.roversx.thinkterm.desktop
install -Dm644 assets/wezterm.appdata.xml %{buildroot}/usr/share/metainfo/com.roversx.thinkterm.appdata.xml
@@ -257,13 +263,18 @@ install -Dm644 assets/wezterm-nautilus.py %{buildroot}/usr/share/nautilus-python
# Main package (metapackage) has no files
%files -n wezterm-common
+/usr/bin/thinkterm
/usr/bin/wezterm
/usr/bin/strip-ansi-escapes
-/usr/share/zsh/site-functions/_wezterm
+/usr/share/zsh/site-functions/_thinkterm
+/usr/share/fish/vendor_completions.d/thinkterm.fish
+/usr/share/fish/vendor_completions.d/wezterm.fish
+/etc/bash_completion.d/thinkterm
/etc/bash_completion.d/wezterm
/etc/profile.d/*
%files -n wezterm-gui
+/usr/bin/open-thinkterm-here
/usr/bin/open-wezterm-here
/usr/bin/wezterm-gui
/usr/share/icons/hicolor/128x128/apps/com.roversx.thinkterm.png
@@ -320,7 +331,8 @@ EOF
#!/bin/sh
set -e
if [ "\$1" = "configure" ] ; then
- update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/open-wezterm-here 20
+ update-alternatives --remove x-terminal-emulator /usr/bin/open-wezterm-here
+ update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/open-thinkterm-here 20
fi
EOF
@@ -328,14 +340,16 @@ EOF
#!/bin/sh
set -e
if [ "\$1" = "remove" ]; then
+ update-alternatives --remove x-terminal-emulator /usr/bin/open-thinkterm-here
update-alternatives --remove x-terminal-emulator /usr/bin/open-wezterm-here
fi
EOF
install -Dsm755 -t pkg/debian/usr/bin $TARGET_DIR/release/wezterm-mux-server
install -Dsm755 -t pkg/debian/usr/bin $TARGET_DIR/release/wezterm-gui
+ install -Dsm755 -t pkg/debian/usr/bin $TARGET_DIR/release/thinkterm
install -Dsm755 -t pkg/debian/usr/bin $TARGET_DIR/release/wezterm
- install -Dm755 -t pkg/debian/usr/bin assets/open-wezterm-here
+ install -Dm755 -t pkg/debian/usr/bin assets/open-thinkterm-here assets/open-wezterm-here
install -Dsm755 -t pkg/debian/usr/bin $TARGET_DIR/release/strip-ansi-escapes
deps=$(cd pkg && dpkg-shlibdeps -O -e debian/usr/bin/*)
@@ -352,8 +366,11 @@ EOF
install -Dm644 assets/wezterm.desktop pkg/debian/usr/share/applications/com.roversx.thinkterm.desktop
install -Dm644 assets/wezterm.appdata.xml pkg/debian/usr/share/metainfo/com.roversx.thinkterm.appdata.xml
install -Dm644 assets/wezterm-nautilus.py pkg/debian/usr/share/nautilus-python/extensions/wezterm-nautilus.py
- install -Dm644 assets/shell-completion/bash pkg/debian/usr/share/bash-completion/completions/wezterm
- install -Dm644 assets/shell-completion/zsh pkg/debian/usr/share/zsh/functions/Completion/Unix/_wezterm
+ install -Dm644 assets/shell-completion/bash pkg/debian/usr/share/bash-completion/completions/thinkterm
+ install -Dm644 assets/shell-completion/zsh pkg/debian/usr/share/zsh/functions/Completion/Unix/_thinkterm
+ install -Dm644 assets/shell-completion/fish pkg/debian/usr/share/fish/vendor_completions.d/thinkterm.fish
+ ln -s thinkterm pkg/debian/usr/share/bash-completion/completions/wezterm
+ ln -s thinkterm.fish pkg/debian/usr/share/fish/vendor_completions.d/wezterm.fish
install -Dm644 assets/shell-integration/* -t pkg/debian/etc/profile.d
if [[ "$BUILD_REASON" == "Schedule" ]] ; then
@@ -401,9 +418,11 @@ options="!check"
url="https://github.com/RoversX/thinkterm"
makedepends="cmd:tic"
source="
+ $TARGET_DIR/release/thinkterm
$TARGET_DIR/release/wezterm
$TARGET_DIR/release/wezterm-gui
$TARGET_DIR/release/wezterm-mux-server
+ assets/open-thinkterm-here
assets/open-wezterm-here
assets/wezterm.desktop
assets/wezterm.appdata.xml
@@ -418,7 +437,9 @@ build() {
}
package() {
+ install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/open-thinkterm-here
install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/open-wezterm-here
+ install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/thinkterm
install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/wezterm
install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/wezterm-gui
install -Dm755 -t "\$pkgdir"/usr/bin "\$srcdir"/wezterm-mux-server
diff --git a/ci/generate-docs.py b/ci/generate-docs.py
index f32b87d2..988ba791 100644
--- a/ci/generate-docs.py
+++ b/ci/generate-docs.py
@@ -462,17 +462,17 @@ TOC = [
"CLI Reference",
"cli/general.md",
children=[
- Gen("wezterm cli", "cli/cli"),
- Page("wezterm connect", "cli/connect.md"),
- Page("wezterm imgcat", "cli/imgcat.md"),
- Page("wezterm ls-fonts", "cli/ls-fonts.md"),
- Page("wezterm record", "cli/record.md"),
- Page("wezterm replay", "cli/replay.md"),
- Page("wezterm serial", "cli/serial.md"),
- Page("wezterm set-working-directory", "cli/set-working-directory.md"),
- Page("wezterm show-keys", "cli/show-keys.md"),
- Page("wezterm ssh", "cli/ssh.md"),
- Page("wezterm start", "cli/start.md"),
+ Gen("thinkterm cli", "cli/cli"),
+ Page("thinkterm connect", "cli/connect.md"),
+ Page("thinkterm imgcat", "cli/imgcat.md"),
+ Page("thinkterm ls-fonts", "cli/ls-fonts.md"),
+ Page("thinkterm record", "cli/record.md"),
+ Page("thinkterm replay", "cli/replay.md"),
+ Page("thinkterm serial", "cli/serial.md"),
+ Page("thinkterm set-working-directory", "cli/set-working-directory.md"),
+ Page("thinkterm show-keys", "cli/show-keys.md"),
+ Page("thinkterm ssh", "cli/ssh.md"),
+ Page("thinkterm start", "cli/start.md"),
],
),
Page(
diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py
index 18153c64..c69e31d0 100755
--- a/ci/generate-workflows.py
+++ b/ci/generate-workflows.py
@@ -21,6 +21,7 @@ TRIGGER_PATHS_APPIMAGE = [
]
TRIGGER_PATHS_UNIX = [
+ "assets/open-thinkterm-here",
"assets/open-wezterm-here",
"assets/shell-completion/**/*",
"assets/shell-integration/**/*",
diff --git a/ci/update-derived-files.sh b/ci/update-derived-files.sh
index ced4f444..4f11c1a2 100755
--- a/ci/update-derived-files.sh
+++ b/ci/update-derived-files.sh
@@ -2,8 +2,12 @@
# Update files that are derived from things baked into the executable
+CARGO_BUILD_DIR=$(cargo metadata --format-version 1 --no-deps | python3 -c \
+ 'import json, sys; print(json.load(sys.stdin)["target_directory"])')
+DEBUG_DIR="$CARGO_BUILD_DIR/debug"
+
for shell in bash zsh fish ; do
- target/debug/wezterm shell-completion --shell $shell > assets/shell-completion/$shell
+ "$DEBUG_DIR/thinkterm" shell-completion --shell $shell > assets/shell-completion/$shell
done
for mode in copy_mode search_mode ; do
@@ -12,7 +16,7 @@ for mode in copy_mode search_mode ; do
# gelatyx doesn't understand the file include mechanism
# when used in a lua block
echo "\`\`\`lua" > $fname
- target/debug/wezterm -n show-keys --lua --key-table $mode >> $fname
+ "$DEBUG_DIR/thinkterm" -n show-keys --lua --key-table $mode >> $fname
echo "\`\`\`" >> $fname
done
@@ -22,14 +26,14 @@ done
# output stream.
# <https://unix.stackexchange.com/a/552191/123914>
trim_file() {
- perl -0777 -pe 's/^\n+|\n\K\n+$//g'
+ perl -0777 -pe 's/[ \t]+$//mg; s/^\n+|\n\K\n+$//g'
}
-cargo run --example narrow $PWD/target/debug/wezterm --help | ./target/debug/strip-ansi-escapes | trim_file > docs/examples/cmd-synopsis-wezterm--help.txt
+cargo run --example narrow "$DEBUG_DIR/thinkterm" --help | "$DEBUG_DIR/strip-ansi-escapes" | trim_file > docs/examples/cmd-synopsis-wezterm--help.txt
for cmd in start ssh serial connect ls-fonts show-keys imgcat set-working-directory record replay ; do
fname="docs/examples/cmd-synopsis-wezterm-${cmd}--help.txt"
- cargo run --example narrow $PWD/target/debug/wezterm $cmd --help | ./target/debug/strip-ansi-escapes | trim_file > $fname
+ cargo run --example narrow "$DEBUG_DIR/thinkterm" $cmd --help | "$DEBUG_DIR/strip-ansi-escapes" | trim_file > $fname
done
for cmd in \
@@ -52,5 +56,5 @@ for cmd in \
zoom-pane \
; do
fname="docs/examples/cmd-synopsis-wezterm-cli-${cmd}--help.txt"
- cargo run --example narrow $PWD/target/debug/wezterm cli $cmd --help | ./target/debug/strip-ansi-escapes | trim_file > $fname
+ cargo run --example narrow "$DEBUG_DIR/thinkterm" cli $cmd --help | "$DEBUG_DIR/strip-ansi-escapes" | trim_file > $fname
done
diff --git a/ci/wezterm-homebrew-macos.rb.template b/ci/wezterm-homebrew-macos.rb.template
index b821f2a7..908d744c 100644
--- a/ci/wezterm-homebrew-macos.rb.template
+++ b/ci/wezterm-homebrew-macos.rb.template
@@ -22,6 +22,7 @@ cask "thinkterm" do
app "ThinkTerm.app"
[
+ "thinkterm",
"wezterm",
"wezterm-gui",
"wezterm-mux-server",
@@ -44,8 +45,8 @@ cask "thinkterm" do
]
def caveats; <<~EOS
- Cask #{token} related executables like 'wezterm', 'wezterm-gui',
- 'wezterm-mux-server', are linked into
+ Cask #{token} related executables like 'thinkterm', 'wezterm',
+ 'wezterm-gui', and 'wezterm-mux-server' are linked into
/usr/local/bin/ for x86 Mac,
/opt/homebrew/bin/ for M1 Mac.
diff --git a/ci/wezterm-linuxbrew.rb.template b/ci/wezterm-linuxbrew.rb.template
index 0d469698..945c221e 100644
--- a/ci/wezterm-linuxbrew.rb.template
+++ b/ci/wezterm-linuxbrew.rb.template
@@ -11,7 +11,8 @@ class Wezterm < Formula
def install
Dir.glob("*.AppImage").each do |img|
- bin.install img => "wezterm"
+ bin.install img => "thinkterm"
+ bin.install_symlink "thinkterm" => "wezterm"
end
end
end
diff --git a/ci/windows-installer.iss b/ci/windows-installer.iss
index 099b7b79..a47dc787 100644
--- a/ci/windows-installer.iss
+++ b/ci/windows-installer.iss
@@ -43,6 +43,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
+Source: "..\target\release\thinkterm.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\target\release\wezterm.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\target\release\wezterm-gui.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\target\release\wezterm-mux-server.exe"; DestDir: "{app}"; Flags: ignoreversion
diff --git a/config/src/ssh.rs b/config/src/ssh.rs
index ba97032c..f532eb60 100644
--- a/config/src/ssh.rs
+++ b/config/src/ssh.rs
@@ -83,7 +83,7 @@ pub struct SshDomain {
/// The path to a compatible ThinkTerm/WezTerm mux binary on the remote host
pub remote_wezterm_path: Option<String>,
- /// Override the entire `wezterm cli proxy` invocation that would otherwise
+ /// Override the entire `thinkterm cli proxy` invocation that would otherwise
/// be computed from remote_wezterm_path and other information.
pub override_proxy_command: Option<String>,
@@ -92,7 +92,7 @@ pub struct SshDomain {
/// If false, then don't use a multiplexer connection,
/// just connect directly using ssh. This doesn't require
/// that the remote host have a compatible mux binary installed, and is equivalent
- /// to using `wezterm ssh` to connect.
+ /// to using `thinkterm ssh` to connect.
#[dynamic(default)]
pub multiplexing: SshMultiplexing,
diff --git a/config/src/tls.rs b/config/src/tls.rs
index e97ffced..7f2e8140 100644
--- a/config/src/tls.rs
+++ b/config/src/tls.rs
@@ -35,7 +35,7 @@ pub struct TlsDomainClient {
/// If set, use ssh to connect, start the server, and obtain
/// a certificate.
- /// The value is "user@host:port", just like "wezterm ssh" accepts.
+ /// The value is "user@host:port", just like "thinkterm ssh" accepts.
pub bootstrap_via_ssh: Option<String>,
/// identifies the host:port pair of the remote server.
diff --git a/docs/cli/cli/activate-pane-direction.md b/docs/cli/cli/activate-pane-direction.md
index 652cf218..67b38dce 100644
--- a/docs/cli/cli/activate-pane-direction.md
+++ b/docs/cli/cli/activate-pane-direction.md
@@ -1,8 +1,8 @@
-# `wezterm cli activate-pane-direction DIRECTION`
+# `thinkterm cli activate-pane-direction DIRECTION`
{{since('20221119-145034-49b9839f')}}
-*Run `wezterm cli activate-pane-direction --help` to see more help*
+*Run `thinkterm cli activate-pane-direction --help` to see more help*
Changes the activate pane to the one in the specified direction.
diff --git a/docs/cli/cli/activate-pane.md b/docs/cli/cli/activate-pane.md
index 9768d740..10cc8455 100644
--- a/docs/cli/cli/activate-pane.md
+++ b/docs/cli/cli/activate-pane.md
@@ -1,4 +1,4 @@
-# `wezterm cli activate-pane`
+# `thinkterm cli activate-pane`
{{since('20230326-111934-3666303c')}}
diff --git a/docs/cli/cli/activate-tab.md b/docs/cli/cli/activate-tab.md
index fc402c20..3acb4f75 100644
--- a/docs/cli/cli/activate-tab.md
+++ b/docs/cli/cli/activate-tab.md
@@ -1,4 +1,4 @@
-# `wezterm cli activate-tab`
+# `thinkterm cli activate-tab`
{{since('20230326-111934-3666303c')}}
diff --git a/docs/cli/cli/adjust-pane-size.md b/docs/cli/cli/adjust-pane-size.md
index 175979cd..32e35954 100644
--- a/docs/cli/cli/adjust-pane-size.md
+++ b/docs/cli/cli/adjust-pane-size.md
@@ -1,8 +1,8 @@
-# `wezterm cli adjust-pane-size DIRECTION`
+# `thinkterm cli adjust-pane-size DIRECTION`
{{since('20230712-072601-f4abf8fd')}}
-*Run `wezterm cli adjust-pane-size --help` to see more help*
+*Run `thinkterm cli adjust-pane-size --help` to see more help*
Adjust the size of the current pane, or the pane specified by `--pane-id`, in the specified direction.
diff --git a/docs/cli/cli/get-pane-direction.md b/docs/cli/cli/get-pane-direction.md
index 95e21cf0..37af0244 100644
--- a/docs/cli/cli/get-pane-direction.md
+++ b/docs/cli/cli/get-pane-direction.md
@@ -1,8 +1,8 @@
-# `wezterm cli get-pane-direction DIRECTION`
+# `thinkterm cli get-pane-direction DIRECTION`
{{since('20230408-112425-69ae8472')}}
-*Run `wezterm cli get-pane-direction --help` to see more help*
+*Run `thinkterm cli get-pane-direction --help` to see more help*
Prints the pane id of the pane in the specified direction, relative to
the current pane.
diff --git a/docs/cli/cli/get-text.md b/docs/cli/cli/get-text.md
index 210c09d1..f36d90e1 100644
--- a/docs/cli/cli/get-text.md
+++ b/docs/cli/cli/get-text.md
@@ -1,15 +1,15 @@
-# `wezterm cli get-text`
+# `thinkterm cli get-text`
{{since('20230320-124340-559cb7b0')}}
-*Run `wezterm cli get-text --help` to see more help*
+*Run `thinkterm cli get-text --help` to see more help*
Retrieves the textual content of a pane and output it to stdout.
For example:
```
-$ wezterm cli get-text > /tmp/myscreen.txt
+$ thinkterm cli get-text > /tmp/myscreen.txt
```
will capture the main (non-scrollback) portion of the current pane to `/tmp/myscreen.txt`.
@@ -18,7 +18,7 @@ By default, just the raw text is captured without any color or styling escape se
You may pass `--escapes` to include those:
```
-$ wezterm cli get-text --escapes > /tmp/myscreen-with-colors.txt
+$ thinkterm cli get-text --escapes > /tmp/myscreen-with-colors.txt
```
The default capture region is the main terminal screen, not including the scrollback.
diff --git a/docs/cli/cli/kill-pane.md b/docs/cli/cli/kill-pane.md
index 65521645..d2ca9b7b 100644
--- a/docs/cli/cli/kill-pane.md
+++ b/docs/cli/cli/kill-pane.md
@@ -1,4 +1,4 @@
-# `wezterm cli kill-pane`
+# `thinkterm cli kill-pane`
{{since('20230326-111934-3666303c')}}
diff --git a/docs/cli/cli/list-clients.md b/docs/cli/cli/list-clients.md
index 86e8fddf..369e2e98 100644
--- a/docs/cli/cli/list-clients.md
+++ b/docs/cli/cli/list-clients.md
@@ -1,11 +1,11 @@
-# `wezterm cli list-clients`
+# `thinkterm cli list-clients`
-*Run `wezterm cli list-clients --help` to see more help*
+*Run `thinkterm cli list-clients --help` to see more help*
Lists the set of connected clients and some additional information about them:
```
-$ wezterm cli list-clients
+$ thinkterm cli list-clients
USER HOST PID CONNECTED IDLE WORKSPACE FOCUS
wez foo 1098536 166.03140978s 31.40978ms default 0
```
@@ -25,7 +25,7 @@ The meanings of the fields are:
You may request JSON output:
```
-$ wezterm cli list-clients --format json
+$ thinkterm cli list-clients --format json
[
{
"username": "wez",
diff --git a/docs/cli/cli/list.md b/docs/cli/cli/list.md
index 44a117f0..e6480a1c 100644
--- a/docs/cli/cli/list.md
+++ b/docs/cli/cli/list.md
@@ -1,15 +1,15 @@
-# `wezterm cli list`
+# `thinkterm cli list`
-*Run `wezterm cli list --help` to see more help*
+*Run `thinkterm cli list --help` to see more help*
Lists the set of windows, tabs and panes that are being managed.
The default output is tabular:
```
-$ wezterm cli list
+$ thinkterm cli list
WINID TABID PANEID WORKSPACE SIZE TITLE CWD
- 0 0 0 default 80x24 wezterm cli list -- wez@foo:~ file://foo/home/wez/
+ 0 0 0 default 80x24 thinkterm cli list -- wez@foo:~ file://foo/home/wez/
```
Each row describes a pane. The meaning of the fields are:
@@ -27,7 +27,7 @@ Each row describes a pane. The meaning of the fields are:
You may request JSON output:
```
-$ wezterm cli list --format json
+$ thinkterm cli list --format json
[
{
"window_id": 0,
@@ -38,7 +38,7 @@ $ wezterm cli list --format json
"rows": 24,
"cols": 80
},
- "title": "wezterm cli list --format json -- wez@foo:~",
+ "title": "thinkterm cli list --format json -- wez@foo:~",
"cwd": "file://foo/home/wez/"
}
]
diff --git a/docs/cli/cli/move-pane-to-new-tab.md b/docs/cli/cli/move-pane-to-new-tab.md
index 46e97b4a..8aa6818e 100644
--- a/docs/cli/cli/move-pane-to-new-tab.md
+++ b/docs/cli/cli/move-pane-to-new-tab.md
@@ -1,8 +1,8 @@
-# `wezterm cli move-pane-to-new-tab`
+# `thinkterm cli move-pane-to-new-tab`
{{since('20220624-141144-bd1b7c5d')}}
-*Run `wezterm cli move-pane-to-new-tab --help` to see more help*
+*Run `thinkterm cli move-pane-to-new-tab --help` to see more help*
Allows moving a pane into a new tab either in the same window or in a new window.
diff --git a/docs/cli/cli/rename-workspace.md b/docs/cli/cli/rename-workspace.md
index dc83b083..f3a16742 100644
--- a/docs/cli/cli/rename-workspace.md
+++ b/docs/cli/cli/rename-workspace.md
@@ -1,8 +1,8 @@
-# `wezterm cli rename-workspace NEW-NAME`
+# `thinkterm cli rename-workspace NEW-NAME`
{{since('20230408-112425-69ae8472')}}
-*Run `wezterm cli rename-workspace --help` to see more help*
+*Run `thinkterm cli rename-workspace --help` to see more help*
## Synopsis
diff --git a/docs/cli/cli/send-text.md b/docs/cli/cli/send-text.md
index ea50faae..8add07cf 100644
--- a/docs/cli/cli/send-text.md
+++ b/docs/cli/cli/send-text.md
@@ -1,6 +1,6 @@
-# `wezterm cli send-text`
+# `thinkterm cli send-text`
-*Run `wezterm cli send-text --help` to see more help*
+*Run `thinkterm cli send-text --help` to see more help*
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.
@@ -8,7 +8,7 @@ enabled in the pane, then the text will be sent as a bracketed paste.
For example:
```
-$ wezterm cli send-text "hello there"
+$ thinkterm cli send-text "hello there"
```
will cause `hello there` to be sent to the input in the current pane.
@@ -16,7 +16,7 @@ will cause `hello there` to be sent to the input in the current pane.
You can also pipe text in via stdin:
```
-$ echo hello there | wezterm cli send-text
+$ echo hello there | thinkterm cli send-text
```
The following arguments modify the behavior:
diff --git a/docs/cli/cli/set-tab-title.md b/docs/cli/cli/set-tab-title.md
index 16975cc0..d991b51d 100644
--- a/docs/cli/cli/set-tab-title.md
+++ b/docs/cli/cli/set-tab-title.md
@@ -1,8 +1,8 @@
-# `wezterm cli set-tab-title TITLE`
+# `thinkterm cli set-tab-title TITLE`
{{since('20230408-112425-69ae8472')}}
-*Run `wezterm cli set-tab-title --help` to see more help*
+*Run `thinkterm cli set-tab-title --help` to see more help*
## Synopsis
diff --git a/docs/cli/cli/set-window-title.md b/docs/cli/cli/set-window-title.md
index 18cebb1a..8be1d08d 100644
--- a/docs/cli/cli/set-window-title.md
+++ b/docs/cli/cli/set-window-title.md
@@ -1,8 +1,8 @@
-# `wezterm cli set-window-title TITLE`
+# `thinkterm cli set-window-title TITLE`
{{since('20230408-112425-69ae8472')}}
-*Run `wezterm cli set-window-title --help` to see more help*
+*Run `thinkterm cli set-window-title --help` to see more help*
## Synopsis
diff --git a/docs/cli/cli/spawn.md b/docs/cli/cli/spawn.md
index f5370b5f..10cfdf63 100644
--- a/docs/cli/cli/spawn.md
+++ b/docs/cli/cli/spawn.md
@@ -1,6 +1,6 @@
-# `wezterm cli spawn`
+# `thinkterm cli spawn`
-*Run `wezterm cli spawn --help` to see more help*
+*Run `thinkterm cli spawn --help` to see more help*
Spawn a command into a new tab or window. Outputs the pane-id for the newly
created pane on success.
@@ -11,25 +11,25 @@ program; this example spawns a new pane with id 1 running that default program
```
-$ wezterm cli spawn
+$ thinkterm cli spawn
1
```
You may spawn an alternative program by passing the argument list; it is
recommended that you use `--` to denote the end of the arguments being passed
-to `wezterm cli spawn` so that any parameters you may wish to pass to the
-program are not confused with parameters to `wezterm cli spawn`. This example
+to `thinkterm cli spawn` so that any parameters you may wish to pass to the
+program are not confused with parameters to `thinkterm cli spawn`. This example
launches `top` in a new tab:
```
-$ wezterm cli spawn -- top
+$ thinkterm cli spawn -- top
2
```
This example explicitly runs bash as a login shell:
```
-$ wezterm cli spawn -- bash -l
+$ thinkterm cli spawn -- bash -l
3
```
diff --git a/docs/cli/cli/split-pane.md b/docs/cli/cli/split-pane.md
index b167b1e6..5b360fac 100644
--- a/docs/cli/cli/split-pane.md
+++ b/docs/cli/cli/split-pane.md
@@ -1,6 +1,6 @@
-# `wezterm cli split-pane`
+# `thinkterm cli split-pane`
-*Run `wezterm cli split-pane --help` to see more help*
+*Run `thinkterm cli split-pane --help` to see more help*
Split the current pane.
Outputs the pane-id for the newly created pane on success.
@@ -8,25 +8,25 @@ Outputs the pane-id for the newly created pane on success.
This command will create a split in the current pane and spawn a command into it. This splits the pane and creates a new one at the bottom running the default command:
```
-$ wezterm cli split-pane
+$ thinkterm cli split-pane
2
```
You may spawn an alternative program by passing the argument list; it is
recommended that you use `--` to denote the end of the arguments being passed
-to `wezterm cli split-pane` so that any parameters you may wish to pass to the
-program are not confused with parameters to `wezterm cli split-pane`. This example
+to `thinkterm cli split-pane` so that any parameters you may wish to pass to the
+program are not confused with parameters to `thinkterm cli split-pane`. This example
launches bash as a login shell in a new pane at the bottom:
```
-$ wezterm cli split-pane -- bash -l
+$ thinkterm cli split-pane -- bash -l
3
```
This example creates a split to the left, occupying 30% of the available space:
```
-$ wezterm cli split-pane --left --percent 30
+$ thinkterm cli split-pane --left --percent 30
4
```
diff --git a/docs/cli/cli/zoom-pane.md b/docs/cli/cli/zoom-pane.md
index abef7860..aff8b0b0 100644
--- a/docs/cli/cli/zoom-pane.md
+++ b/docs/cli/cli/zoom-pane.md
@@ -1,8 +1,8 @@
-# `wezterm cli zoom-pane`
+# `thinkterm cli zoom-pane`
{{since('20240127-113634-bbcac864')}}
-*Run `wezterm cli zoom-pane --help` to see more help*
+*Run `thinkterm cli zoom-pane --help` to see more help*
## Synopsis
diff --git a/docs/cli/connect.md b/docs/cli/connect.md
index 24022f24..ae3e6431 100644
--- a/docs/cli/connect.md
+++ b/docs/cli/connect.md
@@ -1,4 +1,4 @@
-# `wezterm connect`
+# `thinkterm connect`
```console
{% include "../examples/cmd-synopsis-wezterm-connect--help.txt" %}
diff --git a/docs/cli/imgcat.md b/docs/cli/imgcat.md
index 2fffd821..72e36012 100644
--- a/docs/cli/imgcat.md
+++ b/docs/cli/imgcat.md
@@ -1,4 +1,4 @@
-# `wezterm imgcat`
+# `thinkterm imgcat`
```console
{% include "../examples/cmd-synopsis-wezterm-imgcat--help.txt" %}
diff --git a/docs/cli/ls-fonts.md b/docs/cli/ls-fonts.md
index af0269de..8292ea9c 100644
--- a/docs/cli/ls-fonts.md
+++ b/docs/cli/ls-fonts.md
@@ -1,4 +1,4 @@
-# `wezterm ls-fonts`
+# `thinkterm ls-fonts`
```console
{% include "../examples/cmd-synopsis-wezterm-ls-fonts--help.txt" %}
diff --git a/docs/cli/record.md b/docs/cli/record.md
index 30edc84c..c885666d 100644
--- a/docs/cli/record.md
+++ b/docs/cli/record.md
@@ -1,4 +1,4 @@
-# `wezterm record`
+# `thinkterm record`
```console
{% include "../examples/cmd-synopsis-wezterm-record--help.txt" %}
diff --git a/docs/cli/replay.md b/docs/cli/replay.md
index 1fd403e9..fa94690b 100644
--- a/docs/cli/replay.md
+++ b/docs/cli/replay.md
@@ -1,4 +1,4 @@
-# `wezterm replay`
+# `thinkterm replay`
```console
{% include "../examples/cmd-synopsis-wezterm-replay--help.txt" %}
diff --git a/docs/cli/serial.md b/docs/cli/serial.md
index 8892c4c0..1488b143 100644
--- a/docs/cli/serial.md
+++ b/docs/cli/serial.md
@@ -1,4 +1,4 @@
-# `wezterm serial`
+# `thinkterm serial`
```console
{% include "../examples/cmd-synopsis-wezterm-serial--help.txt" %}
diff --git a/docs/cli/set-working-directory.md b/docs/cli/set-working-directory.md
index 3fed15e2..a03278d5 100644
--- a/docs/cli/set-working-directory.md
+++ b/docs/cli/set-working-directory.md
@@ -1,4 +1,4 @@
-# `wezterm set-working-directory`
+# `thinkterm set-working-directory`
```console
{% include "../examples/cmd-synopsis-wezterm-set-working-directory--help.txt" %}
diff --git a/docs/cli/show-keys.md b/docs/cli/show-keys.md
index 01eb847a..1ba8d06a 100644
--- a/docs/cli/show-keys.md
+++ b/docs/cli/show-keys.md
@@ -1,4 +1,4 @@
-# `wezterm show-keys`
+# `thinkterm show-keys`
{{since('20220624-141144-bd1b7c5d')}}
diff --git a/docs/cli/ssh.md b/docs/cli/ssh.md
index 0d7249ec..29cada12 100644
--- a/docs/cli/ssh.md
+++ b/docs/cli/ssh.md
@@ -1,4 +1,4 @@
-# `wezterm ssh`
+# `thinkterm ssh`
```console
{% include "../examples/cmd-synopsis-wezterm-ssh--help.txt" %}
diff --git a/docs/cli/start.md b/docs/cli/start.md
index fd14b914..584a6909 100644
--- a/docs/cli/start.md
+++ b/docs/cli/start.md
@@ -1,4 +1,4 @@
-# `wezterm start`
+# `thinkterm start`
```console
{% include "../examples/cmd-synopsis-wezterm-start--help.txt" %}
diff --git a/docs/examples/cmd-synopsis-wezterm--help.txt b/docs/examples/cmd-synopsis-wezterm--help.txt
index 7a482112..a204b250 100644
--- a/docs/examples/cmd-synopsis-wezterm--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm--help.txt
@@ -1,35 +1,26 @@
-Wez's Terminal Emulator
-http://github.com/wezterm/wezterm
+ThinkTerm - a workspace-first terminal
+https://github.com/RoversX/thinkterm
-Usage: wezterm [OPTIONS] [COMMAND]
+Usage: thinkterm [OPTIONS] [COMMAND]
Commands:
- start Start the GUI, optionally running an alternative
- program [aliases: -e]
+ start Start the GUI, optionally running an alternative program [aliases: -e]
ssh Establish an ssh session
serial Open a serial port
- connect Connect to wezterm multiplexer
+ connect Connect to ThinkTerm multiplexer
ls-fonts Display information about fonts
show-keys Show key assignments
cli Interact with experimental mux server
imgcat Output an image to the terminal
- set-working-directory Advise the terminal of the current working
- directory by emitting an OSC 7 escape sequence
+ set-working-directory Advise the terminal of the current working directory by emitting an OSC 7 escape sequence
record Record a terminal session as an asciicast
replay Replay an asciicast terminal session
shell-completion Generate shell completion information
- help Print this message or the help of the given
- subcommand(s)
+ help Print this message or the help of the given subcommand(s)
Options:
- -n, --skip-config
- Skip loading wezterm.lua
- --config-file <CONFIG_FILE>
- Specify the configuration file to use, overrides the normal
- configuration file resolution
- --config <name=value>
- Override specific configuration values
- -h, --help
- Print help
- -V, --version
- Print version
+ -n, --skip-config Skip loading the ThinkTerm configuration
+ --config-file <CONFIG_FILE> Specify the configuration file to use, overrides the normal configuration file resolution
+ --config <name=value> Override specific configuration values
+ -h, --help Print help
+ -V, --version Print version
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-activate-pane--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-activate-pane--help.txt
index ec425269..509d667e 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-activate-pane--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-activate-pane--help.txt
@@ -1,9 +1,7 @@
Activate (focus) a pane
-Usage: wezterm cli activate-pane [OPTIONS]
+Usage: thinkterm cli activate-pane [OPTIONS]
Options:
- --pane-id <PANE_ID> Specify the target pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-activate-pane-direction--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-activate-pane-direction--help.txt
index 57e69ea4..126278cf 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-activate-pane-direction--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-activate-pane-direction--help.txt
@@ -1,13 +1,10 @@
Activate an adjacent pane in the specified direction
-Usage: wezterm cli activate-pane-direction [OPTIONS] <DIRECTION>
+Usage: thinkterm cli activate-pane-direction [OPTIONS] <DIRECTION>
Arguments:
- <DIRECTION> The direction to switch to [possible values: Up, Down, Left,
- Right, Next, Prev]
+ <DIRECTION> The direction to switch to [possible values: Up, Down, Left, Right, Next, Prev]
Options:
- --pane-id <PANE_ID> Specify the current pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
+ --pane-id <PANE_ID> Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-activate-tab--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-activate-tab--help.txt
index b9c1021b..b77f1acf 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-activate-tab--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-activate-tab--help.txt
@@ -1,34 +1,25 @@
Activate a tab
-Usage: wezterm cli activate-tab [OPTIONS]
+Usage: thinkterm cli activate-tab [OPTIONS]
Options:
--tab-id <TAB_ID>
Specify the target tab by its id
--tab-index <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
+ 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-relative <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.
-
- Unless `--no-wrap` is specified, relative moves wrap around from the
- left-most to right-most and vice versa.
+ 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.
+
+ Unless `--no-wrap` is specified, relative moves wrap around from the left-most to right-most and vice versa.
--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
+ 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
--pane-id <PANE_ID>
- Specify the current pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE.
-
+ Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE.
+
The pane is used to figure out which window contains appropriate tabs
-h, --help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-adjust-pane-size--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-adjust-pane-size--help.txt
index 9f48c789..e5bb059a 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-adjust-pane-size--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-adjust-pane-size--help.txt
@@ -1,15 +1,11 @@
Adjust the size of a pane directionally
-Usage: wezterm cli adjust-pane-size [OPTIONS] <DIRECTION>
+Usage: thinkterm cli adjust-pane-size [OPTIONS] <DIRECTION>
Arguments:
- <DIRECTION> Specify the direction to resize in [possible values: Up, Down,
- Left, Right, Next, Prev]
+ <DIRECTION> Specify the direction to resize in [possible values: Up, Down, Left, Right, Next, Prev]
Options:
- --pane-id <PANE_ID> Specify the target pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
- --amount <AMOUNT> Specify the number of cells to resize by, defaults to
- 1
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
+ --amount <AMOUNT> Specify the number of cells to resize by, defaults to 1
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-get-pane-direction--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-get-pane-direction--help.txt
index 1d257e3b..84ef938c 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-get-pane-direction--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-get-pane-direction--help.txt
@@ -1,20 +1,18 @@
Determine the adjacent pane in the specified direction.
-Prints the pane id in that direction, or nothing if there is no pane in that
-direction.
+Prints the pane id in that direction, or nothing if there is no pane in that direction.
-Usage: wezterm cli get-pane-direction [OPTIONS] <DIRECTION>
+Usage: thinkterm cli get-pane-direction [OPTIONS] <DIRECTION>
Arguments:
<DIRECTION>
The direction to consider
-
+
[possible values: Up, Down, Left, Right, Next, Prev]
Options:
--pane-id <PANE_ID>
- Specify the current pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE
+ Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt
index a57e56f5..16434c15 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt
@@ -1,21 +1,10 @@
Retrieves the textual content of a pane and output it to stdout
-Usage: wezterm cli get-text [OPTIONS]
+Usage: thinkterm cli get-text [OPTIONS]
Options:
- --pane-id <PANE_ID>
- Specify the target pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE
- --start-line <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
- --end-line <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
- --escapes
- Include escape sequences that color and style the text. If omitted,
- unattributed text will be returned
- -h, --help
- Print help
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
+ --start-line <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
+ --end-line <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
+ --escapes Include escape sequences that color and style the text. If omitted, unattributed text will be returned
+ -h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-kill-pane--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-kill-pane--help.txt
index dc768222..dc798df4 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-kill-pane--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-kill-pane--help.txt
@@ -1,9 +1,7 @@
Kill a pane
-Usage: wezterm cli kill-pane [OPTIONS]
+Usage: thinkterm cli kill-pane [OPTIONS]
Options:
- --pane-id <PANE_ID> Specify the target pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-list--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-list--help.txt
index 8682bd2c..ad8d96a6 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-list--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-list--help.txt
@@ -1,8 +1,7 @@
list windows, tabs and panes
-Usage: wezterm cli list [OPTIONS]
+Usage: thinkterm cli list [OPTIONS]
Options:
- --format <FORMAT> Controls the output format. "table" and "json" are
- possible formats [default: table]
+ --format <FORMAT> Controls the output format. "table" and "json" are possible formats [default: table]
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-list-clients--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-list-clients--help.txt
index 3202f36d..2203c1d1 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-list-clients--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-list-clients--help.txt
@@ -1,8 +1,7 @@
list clients
-Usage: wezterm cli list-clients [OPTIONS]
+Usage: thinkterm cli list-clients [OPTIONS]
Options:
- --format <FORMAT> Controls the output format. "table" and "json" are
- possible formats [default: table]
+ --format <FORMAT> Controls the output format. "table" and "json" are possible formats [default: table]
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-move-pane-to-new-tab--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-move-pane-to-new-tab--help.txt
index 7d8f5251..03441afe 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-move-pane-to-new-tab--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-move-pane-to-new-tab--help.txt
@@ -1,17 +1,10 @@
Move a pane into a new tab
-Usage: wezterm cli move-pane-to-new-tab [OPTIONS]
+Usage: thinkterm cli move-pane-to-new-tab [OPTIONS]
Options:
- --pane-id <PANE_ID> Specify the pane that should be moved. The
- default is to use the current pane based on the
- environment variable WEZTERM_PANE
- --window-id <WINDOW_ID> Specify the window into which the new tab will be
- created. If omitted, the window associated with
- the current pane is used
- --new-window Create tab in a new window, rather than the
- window currently containing the pane
- --workspace <WORKSPACE> If creating a new window, override the default
- workspace name with the provided name. The
- default name is "default"
+ --pane-id <PANE_ID> Specify the pane that should be moved. The default is to use the current pane based on the environment variable WEZTERM_PANE
+ --window-id <WINDOW_ID> Specify the window into which the new tab will be created. If omitted, the window associated with the current pane is used
+ --new-window Create tab in a new window, rather than the window currently containing the pane
+ --workspace <WORKSPACE> If creating a new window, override the default workspace name with the provided name. The default name is "default"
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-rename-workspace--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-rename-workspace--help.txt
index 142beba6..5d0c9645 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-rename-workspace--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-rename-workspace--help.txt
@@ -1,6 +1,6 @@
Rename a workspace
-Usage: wezterm cli rename-workspace [OPTIONS] <NEW_WORKSPACE>
+Usage: thinkterm cli rename-workspace [OPTIONS] <NEW_WORKSPACE>
Arguments:
<NEW_WORKSPACE>
@@ -11,9 +11,8 @@ Options:
Specify the workspace to rename
--pane-id <PANE_ID>
- Specify the current pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE.
-
+ Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE.
+
The pane is used to figure out which workspace should be renamed.
-h, --help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-send-text--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-send-text--help.txt
index cb62d369..7944a2b0 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-send-text--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-send-text--help.txt
@@ -1,15 +1,11 @@
-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
+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
-Usage: wezterm cli send-text [OPTIONS] [TEXT]
+Usage: thinkterm cli send-text [OPTIONS] [TEXT]
Arguments:
[TEXT] The text to send. If omitted, will read the text from stdin
Options:
- --pane-id <PANE_ID> Specify the target pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
- --no-paste Send the text directly, rather than as a bracketed
- paste
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
+ --no-paste Send the text directly, rather than as a bracketed paste
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-set-tab-title--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-set-tab-title--help.txt
index 4e257452..72427577 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-set-tab-title--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-set-tab-title--help.txt
@@ -1,6 +1,6 @@
Change the title of a tab
-Usage: wezterm cli set-tab-title [OPTIONS] <TITLE>
+Usage: thinkterm cli set-tab-title [OPTIONS] <TITLE>
Arguments:
<TITLE>
@@ -11,9 +11,8 @@ Options:
Specify the target tab by its id
--pane-id <PANE_ID>
- Specify the current pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE.
-
+ Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE.
+
The pane is used to figure out which tab should be renamed.
-h, --help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-set-window-title--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-set-window-title--help.txt
index 6b60b344..0788076c 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-set-window-title--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-set-window-title--help.txt
@@ -1,6 +1,6 @@
Change the title of a window
-Usage: wezterm cli set-window-title [OPTIONS] <TITLE>
+Usage: thinkterm cli set-window-title [OPTIONS] <TITLE>
Arguments:
<TITLE>
@@ -11,9 +11,8 @@ Options:
Specify the target window by its id
--pane-id <PANE_ID>
- Specify the current pane. The default is to use the current pane based
- on the environment variable WEZTERM_PANE.
-
+ Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE.
+
The pane is used to figure out which window should be renamed.
-h, --help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-spawn--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-spawn--help.txt
index e32f3e82..284c9caf 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-spawn--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-spawn--help.txt
@@ -1,31 +1,16 @@
Spawn a command into a new window or tab
Outputs the pane-id for the newly created pane on success
-Usage: wezterm cli spawn [OPTIONS] [PROG]...
+Usage: thinkterm cli spawn [OPTIONS] [PROG]...
Arguments:
- [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
+ [PROG]... Instead of executing your shell, run PROG. For example: `thinkterm cli spawn -- bash -l` will spawn bash as if it were a login shell
Options:
- --pane-id <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 <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
--domain-name <DOMAIN_NAME>
-
- --window-id <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`
- --new-window
- Spawn into a new window, rather than a new tab
- --cwd <CWD>
- Specify the current working directory for the initially spawned
- program
- --workspace <WORKSPACE>
- When creating a new window, override the default workspace name with
- the provided name. The default name is "default". Requires
- `--new-window`
- -h, --help
- Print help
+ --window-id <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`
+ --new-window Spawn into a new window, rather than a new tab
+ --cwd <CWD> Specify the current working directory for the initially spawned program
+ --workspace <WORKSPACE> When creating a new window, override the default workspace name with the provided name. The default name is "default". Requires `--new-window`
+ -h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-split-pane--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-split-pane--help.txt
index 31a2c71c..cbb2d393 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-split-pane--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-split-pane--help.txt
@@ -1,41 +1,21 @@
split the current pane.
Outputs the pane-id for the newly created pane on success
-Usage: wezterm cli split-pane [OPTIONS] [PROG]...
+Usage: thinkterm cli split-pane [OPTIONS] [PROG]...
Arguments:
- [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
+ [PROG]... Instead of executing your shell, run PROG. For example: `thinkterm cli split-pane -- bash -l` will spawn bash as if it were a login shell
Options:
- --pane-id <PANE_ID>
- Specify the pane that should be split. The default is to use the
- current pane based on the environment variable WEZTERM_PANE
- --horizontal
- Equivalent to `--right`. If neither this nor any other direction is
- specified, the default is equivalent to `--bottom`
- --left
- Split horizontally, with the new pane on the left
- --right
- Split horizontally, with the new pane on the right
- --top
- Split vertically, with the new pane on the top
- --bottom
- Split vertically, with the new pane on the bottom
- --top-level
- Rather than splitting the active pane, split the entire window
- --cells <CELLS>
- The number of cells that the new split should have. If omitted, 50% of
- the available space is used
- --percent <PERCENT>
- Specify the number of cells that the new split should have, expressed
- as a percentage of the available space
- --cwd <CWD>
- Specify the current working directory for the initially spawned
- program
- --move-pane-id <MOVE_PANE_ID>
- Instead of spawning a new command, move the specified pane into the
- newly created split
- -h, --help
- Print help
+ --pane-id <PANE_ID> Specify the pane that should be split. The default is to use the current pane based on the environment variable WEZTERM_PANE
+ --horizontal Equivalent to `--right`. If neither this nor any other direction is specified, the default is equivalent to `--bottom`
+ --left Split horizontally, with the new pane on the left
+ --right Split horizontally, with the new pane on the right
+ --top Split vertically, with the new pane on the top
+ --bottom Split vertically, with the new pane on the bottom
+ --top-level Rather than splitting the active pane, split the entire window
+ --cells <CELLS> The number of cells that the new split should have. If omitted, 50% of the available space is used
+ --percent <PERCENT> Specify the number of cells that the new split should have, expressed as a percentage of the available space
+ --cwd <CWD> Specify the current working directory for the initially spawned program
+ --move-pane-id <MOVE_PANE_ID> Instead of spawning a new command, move the specified pane into the newly created split
+ -h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-cli-zoom-pane--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-zoom-pane--help.txt
index c962c879..3f26c451 100644
--- a/docs/examples/cmd-synopsis-wezterm-cli-zoom-pane--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-cli-zoom-pane--help.txt
@@ -1,11 +1,9 @@
Zoom, unzoom, or toggle zoom state
-Usage: wezterm cli zoom-pane [OPTIONS]
+Usage: thinkterm cli zoom-pane [OPTIONS]
Options:
- --pane-id <PANE_ID> Specify the target pane. The default is to use the
- current pane based on the environment variable
- WEZTERM_PANE
+ --pane-id <PANE_ID> Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
--zoom Zooms the pane if it wasn't already zoomed
--unzoom Unzooms the pane if it was zoomed
--toggle Toggles the zoom state of the pane
diff --git a/docs/examples/cmd-synopsis-wezterm-connect--help.txt b/docs/examples/cmd-synopsis-wezterm-connect--help.txt
index fb5b1954..c3f04fdb 100644
--- a/docs/examples/cmd-synopsis-wezterm-connect--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-connect--help.txt
@@ -1,43 +1,32 @@
-Connect to wezterm multiplexer
+Connect to ThinkTerm multiplexer
-Usage: wezterm connect [OPTIONS] <DOMAIN_NAME> [PROG]...
+Usage: thinkterm connect [OPTIONS] <DOMAIN_NAME> [PROG]...
Arguments:
<DOMAIN_NAME>
- Name of the multiplexer domain section from the configuration to which
- you'd like to connect
+ Name of the multiplexer domain section from the configuration to which you'd like to connect
[PROG]...
- Instead of executing your shell, run PROG. For example: `wezterm start
- -- bash -l` will spawn bash as if it were a login shell
+ Instead of executing your shell, run PROG. For example: `thinkterm start -- bash -l` will spawn bash as if it were a login shell
Options:
--new-tab
- When spawning into an existing GUI instance, spawn a new tab into the
- active window rather than spawn a new window
+ When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window
--class <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
+ Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs
--workspace <WORKSPACE>
- Override the default workspace with the provided name. The default is
- "default"
+ Override the default workspace with the provided name. The default is "default"
--position <POSITION>
Override the position for the initial window launched by this process.
-
+
--position 10,20 to set x=10, y=20 in screen coordinates
--position screen:10,20 to set x=10, y=20 in screen coordinates
- --position main:10,20 to set x=10, y=20 relative to the main
- monitor
- --position active:10,20 to set x=10, y=20 relative to the active
- monitor
- --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor
- named HDMI-1
+ --position main:10,20 to set x=10, y=20 relative to the main monitor
+ --position active:10,20 to set x=10, y=20 relative to the active monitor
+ --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor named HDMI-1
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/examples/cmd-synopsis-wezterm-imgcat--help.txt b/docs/examples/cmd-synopsis-wezterm-imgcat--help.txt
index 7c70ac0a..b1c5a077 100644
--- a/docs/examples/cmd-synopsis-wezterm-imgcat--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-imgcat--help.txt
@@ -1,96 +1,66 @@
Output an image to the terminal
-Usage: wezterm imgcat [OPTIONS] [FILE_NAME]
+Usage: thinkterm imgcat [OPTIONS] [FILE_NAME]
Arguments:
[FILE_NAME]
- The name of the image file to be displayed. If omitted, will attempt
- to read it from stdin
+ The name of the image file to be displayed. If omitted, will attempt to read it from stdin
Options:
--width <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
+ 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
--height <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
+ 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
--no-preserve-aspect-ratio
- Do not respect the aspect ratio. The default is to respect the aspect
- ratio
+ Do not respect the aspect ratio. The default is to respect the aspect ratio
--position <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
+ 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
--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
+ 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
--hold
Wait for enter/escape/ctrl-c/ctrl-d to be pressed after displaying the image
--tmux-passthru <TMUX_PASSTHRU>
How to manage passing the escape through to tmux
-
+
[possible values: disable, enable, detect]
--max-pixels <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
-
+ 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 ThinkTerm. Note that resampling the image here will reduce any animated images to a single frame
+
[default: 25000000]
--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
+ 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 ThinkTerm
--resample-format <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
-
+ 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
+
[default: input]
[possible values: png, jpeg, input]
--resample-filter <RESAMPLE_FILTER>
- Specify the filtering technique used when resizing/resampling images.
- The default is a reasonable middle ground of speed and quality.
-
- See
- <https://docs.rs/image/latest/image/imageops/enum.FilterType.html#examples>
- for examples of the different techniques and their tradeoffs.
-
+ Specify the filtering technique used when resizing/resampling images. The default is a reasonable middle ground of speed and quality.
+
+ See <https://docs.rs/image/latest/image/imageops/enum.FilterType.html#examples> for examples of the different techniques and their tradeoffs.
+
[default: catmull-rom]
[possible values: nearest, triangle, catmull-rom, gaussian, lanczos3]
--resize <WIDTHxHEIGHT>
- 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.
-
+ 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.
+
Resizing animated images will reduce the image to a single frame.
-
- The `--resample-filter` and `--resample-format` options give some
- control over the quality of the resizing operation and the image
- format used.
+
+ The `--resample-filter` and `--resample-format` options give some control over the quality of the resizing operation and the image format used.
--show-resample-timing
- When resampling or resizing, display some diagnostics around the
- timing/performance of that operation
+ When resampling or resizing, display some diagnostics around the timing/performance of that operation
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/examples/cmd-synopsis-wezterm-ls-fonts--help.txt b/docs/examples/cmd-synopsis-wezterm-ls-fonts--help.txt
index fad6b6fc..5f3596d4 100644
--- a/docs/examples/cmd-synopsis-wezterm-ls-fonts--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-ls-fonts--help.txt
@@ -1,17 +1,10 @@
Display information about fonts
-Usage: wezterm ls-fonts [OPTIONS]
+Usage: thinkterm ls-fonts [OPTIONS]
Options:
- --list-system
- Whether to list all fonts available to the system
- --text <TEXT>
- Explain which fonts are used to render the supplied text string
- --codepoints <CODEPOINTS>
- Explain which fonts are used to render the specified unicode code
- point sequence. Code points are comma separated hex values
- --rasterize-ascii
- Show rasterized glyphs for the text in --text or --codepoints using
- ascii blocks
- -h, --help
- Print help
+ --list-system Whether to list all fonts available to the system
+ --text <TEXT> Explain which fonts are used to render the supplied text string
+ --codepoints <CODEPOINTS> Explain which fonts are used to render the specified unicode code point sequence. Code points are comma separated hex values
+ --rasterize-ascii Show rasterized glyphs for the text in --text or --codepoints using ascii blocks
+ -h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-record--help.txt b/docs/examples/cmd-synopsis-wezterm-record--help.txt
index 0ff345c4..30e63746 100644
--- a/docs/examples/cmd-synopsis-wezterm-record--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-record--help.txt
@@ -1,14 +1,11 @@
Record a terminal session as an asciicast
-Usage: wezterm record [OPTIONS] [PROG]...
+Usage: thinkterm record [OPTIONS] [PROG]...
Arguments:
- [PROG]... Start prog instead of the default_prog defined by your wezterm
- configuration
+ [PROG]... Start prog instead of the default_prog defined by your ThinkTerm configuration
Options:
- --cwd <CWD> Start in the specified directory, instead of the default_cwd
- defined by your wezterm configuration
- -o <OUTFILE> Save asciicast to the specified file, instead of using a
- random file name in the temp directory
+ --cwd <CWD> Start in the specified directory, instead of the default_cwd defined by your ThinkTerm configuration
+ -o <OUTFILE> Save asciicast to the specified file, instead of using a random file name in the temp directory
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-replay--help.txt b/docs/examples/cmd-synopsis-wezterm-replay--help.txt
index 1ef3d484..875f71f2 100644
--- a/docs/examples/cmd-synopsis-wezterm-replay--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-replay--help.txt
@@ -1,13 +1,12 @@
Replay an asciicast terminal session
-Usage: wezterm replay [OPTIONS] <CAST_FILE>
+Usage: thinkterm replay [OPTIONS] <CAST_FILE>
Arguments:
- <CAST_FILE>
+ <CAST_FILE>
Options:
--explain Explain what is being sent/received
--explain-only Don't replay, just show the explanation
- --cat Just emit raw escape sequences all at once, with no timing
- information
+ --cat Just emit raw escape sequences all at once, with no timing information
-h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-serial--help.txt b/docs/examples/cmd-synopsis-wezterm-serial--help.txt
index 53cf7c70..335a7e82 100644
--- a/docs/examples/cmd-synopsis-wezterm-serial--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-serial--help.txt
@@ -1,35 +1,26 @@
Open a serial port
-Usage: wezterm serial [OPTIONS] <PORT>
+Usage: thinkterm serial [OPTIONS] <PORT>
Arguments:
<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`
+ 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`
Options:
--baud <BAUD>
Set the baud rate. The default is 9600 baud
--class <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
+ Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs
--position <POSITION>
Override the position for the initial window launched by this process.
-
+
--position 10,20 to set x=10, y=20 in screen coordinates
--position screen:10,20 to set x=10, y=20 in screen coordinates
- --position main:10,20 to set x=10, y=20 relative to the main
- monitor
- --position active:10,20 to set x=10, y=20 relative to the active
- monitor
- --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor
- named HDMI-1
+ --position main:10,20 to set x=10, y=20 relative to the main monitor
+ --position active:10,20 to set x=10, y=20 relative to the active monitor
+ --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor named HDMI-1
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/examples/cmd-synopsis-wezterm-set-working-directory--help.txt b/docs/examples/cmd-synopsis-wezterm-set-working-directory--help.txt
index 91f619a5..b3667307 100644
--- a/docs/examples/cmd-synopsis-wezterm-set-working-directory--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-set-working-directory--help.txt
@@ -1,17 +1,11 @@
-Advise the terminal of the current working directory by emitting an OSC 7 escape
-sequence
+Advise the terminal of the current working directory by emitting an OSC 7 escape sequence
-Usage: wezterm set-working-directory [OPTIONS] [CWD] [HOST]
+Usage: thinkterm set-working-directory [OPTIONS] [CWD] [HOST]
Arguments:
- [CWD] The directory to specify. If omitted, will use the current directory
- of the process itself
- [HOST] The hostname to use in the constructed file:// URL. If omitted, the
- system hostname will be used
+ [CWD] The directory to specify. If omitted, will use the current directory of the process itself
+ [HOST] The hostname to use in the constructed file:// URL. If omitted, the system hostname will be used
Options:
- --tmux-passthru <TMUX_PASSTHRU>
- How to manage passing the escape through to tmux [possible values:
- disable, enable, detect]
- -h, --help
- Print help
+ --tmux-passthru <TMUX_PASSTHRU> How to manage passing the escape through to tmux [possible values: disable, enable, detect]
+ -h, --help Print help
diff --git a/docs/examples/cmd-synopsis-wezterm-show-keys--help.txt b/docs/examples/cmd-synopsis-wezterm-show-keys--help.txt
index 671c4abc..bad72d7c 100644
--- a/docs/examples/cmd-synopsis-wezterm-show-keys--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-show-keys--help.txt
@@ -1,6 +1,6 @@
Show key assignments
-Usage: wezterm show-keys [OPTIONS]
+Usage: thinkterm show-keys [OPTIONS]
Options:
--lua Show the keys as lua config statements
diff --git a/docs/examples/cmd-synopsis-wezterm-ssh--help.txt b/docs/examples/cmd-synopsis-wezterm-ssh--help.txt
index b734a119..a072261f 100644
--- a/docs/examples/cmd-synopsis-wezterm-ssh--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-ssh--help.txt
@@ -1,50 +1,36 @@
Establish an ssh session
-Usage: wezterm ssh [OPTIONS] <USER_AT_HOST_AND_PORT> [PROG]...
+Usage: thinkterm ssh [OPTIONS] <USER_AT_HOST_AND_PORT> [PROG]...
Arguments:
<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
+ 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
[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
+ Instead of executing your shell, run PROG. For example: `thinkterm ssh user@host -- bash -l` will spawn bash as if it were a login shell
Options:
-o, --ssh-option <name=value>
- 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.
-
+ Override specific SSH configuration options. `thinkterm 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.
+
For example:
-
- `wezterm ssh -oIdentityFile=/secret/id_ed25519 some-host`
+
+ `thinkterm ssh -oIdentityFile=/secret/id_ed25519 some-host`
-v
- Enable verbose ssh protocol tracing. The trace information is printed
- to the stderr stream of the process
+ Enable verbose ssh protocol tracing. The trace information is printed to the stderr stream of the process
--class <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
+ Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs
--position <POSITION>
Override the position for the initial window launched by this process.
-
+
--position 10,20 to set x=10, y=20 in screen coordinates
--position screen:10,20 to set x=10, y=20 in screen coordinates
- --position main:10,20 to set x=10, y=20 relative to the main
- monitor
- --position active:10,20 to set x=10, y=20 relative to the active
- monitor
- --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor
- named HDMI-1
+ --position main:10,20 to set x=10, y=20 relative to the main monitor
+ --position active:10,20 to set x=10, y=20 relative to the active monitor
+ --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor named HDMI-1
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/examples/cmd-synopsis-wezterm-start--help.txt b/docs/examples/cmd-synopsis-wezterm-start--help.txt
index d314206c..590c51a1 100644
--- a/docs/examples/cmd-synopsis-wezterm-start--help.txt
+++ b/docs/examples/cmd-synopsis-wezterm-start--help.txt
@@ -1,66 +1,46 @@
Start the GUI, optionally running an alternative program [aliases: -e]
-Usage: wezterm start [OPTIONS] [PROG]...
+Usage: thinkterm start [OPTIONS] [PROG]...
Arguments:
[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]
+ Instead of executing your shell, run PROG. For example: `thinkterm start -- bash -l` will spawn bash as if it were a login shell. [aliases: -e]
Options:
--no-auto-connect
- If true, do not connect to domains marked as connect_automatically in
- your wezterm configuration file
+ If true, do not connect to domains marked as connect_automatically in your ThinkTerm configuration file
--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
+ If enabled, don't try to ask an existing ThinkTerm GUI instance to start the command. Instead, always start the GUI in this invocation of ThinkTerm so that you can wait for the command to complete by waiting for this ThinkTerm process to finish
--new-tab
- When spawning into an existing GUI instance, spawn a new tab into the
- active window rather than spawn a new window
+ When spawning into an existing GUI instance, spawn a new tab into the active window rather than spawn a new window
--cwd <CWD>
- Specify the current working directory for the initially spawned
- program
+ Specify the current working directory for the initially spawned program
--class <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
+ Override the default windowing system class. The default is "com.roversx.thinkterm". 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 ThinkTerm, including error, update and ssh authentication dialogs
--workspace <WORKSPACE>
- Override the default workspace with the provided name. The default is
- "default"
+ Override the default workspace with the provided name. The default is "default"
--position <POSITION>
Override the position for the initial window launched by this process.
-
+
--position 10,20 to set x=10, y=20 in screen coordinates
--position screen:10,20 to set x=10, y=20 in screen coordinates
- --position main:10,20 to set x=10, y=20 relative to the main
- monitor
- --position active:10,20 to set x=10, y=20 relative to the active
- monitor
- --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor
- named HDMI-1
-
- Note that Wayland does not allow applications to control window
- positioning.
+ --position main:10,20 to set x=10, y=20 relative to the main monitor
+ --position active:10,20 to set x=10, y=20 relative to the active monitor
+ --position HDMI-1:10,20 to set x=10, y=20 relative to the monitor named HDMI-1
+
+ Note that Wayland does not allow applications to control window positioning.
--domain <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
+ Name of the multiplexer domain section from the configuration to which you'd like to connect. If omitted, the default domain will be used
--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
+ When used with --domain, if the domain already has running panes, ThinkTerm will simply attach and will NOT spawn the specified PROG. If you omit --attach when using --domain, ThinkTerm will attach AND then spawn PROG
-h, --help
Print help (see a summary with '-h')
diff --git a/docs/thinkterm/agent-collaboration.md b/docs/thinkterm/agent-collaboration.md
index 1fc18ed9..317478cf 100644
--- a/docs/thinkterm/agent-collaboration.md
+++ b/docs/thinkterm/agent-collaboration.md
@@ -13,9 +13,9 @@ own work.
This has been demonstrated using two existing CLI primitives:
-- [`wezterm cli send-text`](../cli/cli/send-text.md) sends bytes to a target
+- [`thinkterm cli send-text`](../cli/cli/send-text.md) sends bytes to a target
pane as if they had been typed or pasted by the user.
-- [`wezterm cli get-text`](../cli/cli/get-text.md) reads the visible or
+- [`thinkterm cli get-text`](../cli/cli/get-text.md) reads the visible or
scrollback contents of a target pane.
Together, these commands form a minimal communication loop:
diff --git a/env-bootstrap/src/ringlog.rs b/env-bootstrap/src/ringlog.rs
index a0eed7c1..9905fde7 100644
--- a/env-bootstrap/src/ringlog.rs
+++ b/env-bootstrap/src/ringlog.rs
@@ -269,7 +269,7 @@ fn setup_pretty() -> (LevelFilter, Logger) {
if base_name.contains("gui") {
// Only tidy up logs when the gui process is starting.
- // rationale: `wezterm cli` commands should have as low startup
+ // rationale: `thinkterm cli` commands should have as low startup
// overhead as possible
prune_old_logs();
}
diff --git a/nix/flake.nix b/nix/flake.nix
index 76dd8c0c..9dd3fcba 100644
--- a/nix/flake.nix
+++ b/nix/flake.nix
@@ -125,6 +125,7 @@
# hash does not work well with NixOS
substituteInPlace assets/shell-integration/wezterm.sh \
+ --replace-fail 'hash thinkterm 2>/dev/null' 'command type -P thinkterm &>/dev/null' \
--replace-fail 'hash wezterm 2>/dev/null' 'command type -P wezterm &>/dev/null' \
--replace-fail 'hash base64 2>/dev/null' 'command type -P base64 &>/dev/null' \
--replace-fail 'hash hostname 2>/dev/null' 'command type -P hostname &>/dev/null' \
@@ -150,8 +151,8 @@
# macOS will only recognize our application bundle
# if the binaries are inside of it. Move them there
# and create symbolic links for them in bin/.
- mv $out/bin/{wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$OUT_APP"
- ln -s "$OUT_APP"/{wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$out/bin"
+ mv $out/bin/{thinkterm,wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$OUT_APP"
+ ln -s "$OUT_APP"/{thinkterm,wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$out/bin"
'';
postInstall = ''
@@ -163,7 +164,7 @@
install -Dm644 assets/wezterm.appdata.xml $out/share/metainfo/com.roversx.thinkterm.appdata.xml
install -Dm644 assets/shell-integration/wezterm.sh -t $out/etc/profile.d
- installShellCompletion --cmd wezterm \
+ installShellCompletion --cmd thinkterm \
--bash assets/shell-completion/bash \
--fish assets/shell-completion/fish \
--zsh assets/shell-completion/zsh
@@ -213,7 +214,7 @@
'';
};
- meta.mainProgram = "wezterm";
+ meta.mainProgram = "thinkterm";
};
devShell = pkgs.mkShell {
diff --git a/test-data/extract-x11-icon.sh b/test-data/extract-x11-icon.sh
index 9037e92b..23cdb09f 100755
--- a/test-data/extract-x11-icon.sh
+++ b/test-data/extract-x11-icon.sh
@@ -7,5 +7,4 @@ xprop -notype 32c _NET_WM_ICON |
s/(.)(...)/$2$1/gs' > /tmp/icon.pam
convert /tmp/icon.pam /tmp/icon.png
-wezterm imgcat /tmp/icon.png
-
+thinkterm imgcat /tmp/icon.png
diff --git a/wezterm-client/src/pane/clientpane.rs b/wezterm-client/src/pane/clientpane.rs
index d78fcac6..efeb8115 100644
--- a/wezterm-client/src/pane/clientpane.rs
+++ b/wezterm-client/src/pane/clientpane.rs
@@ -462,7 +462,7 @@ impl ClientPane {
Pdu::PaneFocused(PaneFocused { pane_id }) => {
// We get here whenever the pane focus is changed on the
// server. That might be an echo of a focus change we
- // advised ourselves, or a "remote" `wezterm cli
+ // advised ourselves, or a "remote" `thinkterm cli
// activate-pane-direction` style call from some other
// actor. Applying it yanks both the window's active tab
// and the pane stack's active pane, so a STALE echo (of an
diff --git a/wezterm-gui-subcommands/src/lib.rs b/wezterm-gui-subcommands/src/lib.rs
index 5e809223..2019dc54 100644
--- a/wezterm-gui-subcommands/src/lib.rs
+++ b/wezterm-gui-subcommands/src/lib.rs
@@ -28,14 +28,14 @@ pub fn name_equals_value(arg: &str) -> Result<(String, String), String> {
#[command(trailing_var_arg = true)]
pub struct StartCommand {
/// If true, do not connect to domains marked as connect_automatically
- /// in your wezterm configuration file.
+ /// in your ThinkTerm configuration file.
#[arg(long = "no-auto-connect")]
pub no_auto_connect: bool,
- /// If enabled, don't try to ask an existing wezterm GUI instance
+ /// If enabled, don't try to ask an existing ThinkTerm 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.
+ /// invocation of ThinkTerm so that you can wait for the command
+ /// to complete by waiting for this ThinkTerm process to finish.
#[arg(long = "always-new-process")]
pub always_new_process: bool,
@@ -66,7 +66,7 @@ pub struct StartCommand {
/// 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
+ /// instance of ThinkTerm, including error, update and ssh
/// authentication dialogs.
#[arg(long = "class")]
pub class: Option<String>,
@@ -95,14 +95,14 @@ pub struct StartCommand {
pub domain: Option<String>,
/// 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
+ /// ThinkTerm will simply attach and will NOT spawn the specified PROG.
+ /// If you omit --attach when using --domain, ThinkTerm will attach
/// AND then spawn PROG.
#[arg(long, requires = "domain")]
pub attach: bool,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm start -- bash -l` will spawn bash
+ /// For example: `thinkterm start -- bash -l` will spawn bash
/// as if it were a login shell. [aliases: -e]
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
pub prog: Vec<OsString>,
@@ -120,14 +120,14 @@ pub struct SshCommand {
pub user_at_host_and_port: SshParameters,
/// Override specific SSH configuration options.
- /// `wezterm ssh` is able to parse some (but not all!) options
+ /// `thinkterm 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.
///
/// For example:
///
- /// `wezterm ssh -oIdentityFile=/secret/id_ed25519 some-host`
+ /// `thinkterm ssh -oIdentityFile=/secret/id_ed25519 some-host`
#[arg(
long = "ssh-option",
short = 'o',
@@ -147,7 +147,7 @@ pub struct SshCommand {
/// 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
+ /// instance of ThinkTerm, including error, update and ssh
/// authentication dialogs.
#[arg(long = "class")]
pub class: Option<String>,
@@ -162,7 +162,7 @@ pub struct SshCommand {
pub position: Option<GuiPosition>,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm ssh user@host -- bash -l` will spawn bash
+ /// For example: `thinkterm ssh user@host -- bash -l` will spawn bash
/// as if it were a login shell.
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
pub prog: Vec<OsString>,
@@ -179,7 +179,7 @@ pub struct SerialCommand {
/// 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
+ /// instance of ThinkTerm, including error, update and ssh
/// authentication dialogs.
#[arg(long = "class")]
pub class: Option<String>,
@@ -217,7 +217,7 @@ pub struct ConnectCommand {
/// 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
+ /// instance of ThinkTerm, including error, update and ssh
/// authentication dialogs.
#[arg(long = "class")]
pub class: Option<String>,
@@ -237,7 +237,7 @@ pub struct ConnectCommand {
pub position: Option<GuiPosition>,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm start -- bash -l` will spawn bash
+ /// For example: `thinkterm start -- bash -l` will spawn bash
/// as if it were a login shell.
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
pub prog: Vec<OsString>,
diff --git a/wezterm-gui/src/frontend.rs b/wezterm-gui/src/frontend.rs
index 58a5af19..63fb2666 100644
--- a/wezterm-gui/src/frontend.rs
+++ b/wezterm-gui/src/frontend.rs
@@ -628,7 +628,7 @@ impl GuiFrontEnd {
}
/// Pre-claim a mux window that the caller is about to create a GUI window
- /// for explicitly (e.g. the `wezterm connect` flow), so that neither the
+ /// for explicitly (e.g. the `thinkterm connect` flow), so that neither the
/// WindowCreated handler nor the additive reconcile spawns a duplicate.
pub fn claim_spawned_mux_window(&self, mux_window_id: MuxWindowId) {
self.spawned_mux_window.borrow_mut().insert(mux_window_id);
diff --git a/wezterm-gui/src/main.rs b/wezterm-gui/src/main.rs
index 8e278805..37d742a5 100644
--- a/wezterm-gui/src/main.rs
+++ b/wezterm-gui/src/main.rs
@@ -394,7 +394,7 @@ async fn spawn_tab_in_domain_if_mux_is_empty(
Ok(())
}
-/// `wezterm connect <domain>` routed through the ThinkTerm Space system:
+/// `thinkterm connect <domain>` routed through the ThinkTerm Space system:
/// find-or-create the domain's dedicated Space; if already connected in this
/// process, focus an existing window instead of duplicating; otherwise create
/// the connect window with an explicit Space claim so the frontend's
@@ -772,7 +772,7 @@ async fn async_run_terminal_gui(
trigger_and_log_gui_attached(MuxDomain(domain.domain_id())).await;
}
}
- // `wezterm connect` to a mux client domain goes through the Space system:
+ // `thinkterm connect` to a mux client domain goes through the Space system:
// dedicated find-or-create Space, explicit window claim, no restore.
if is_connecting {
if let Some(domain) = &domain {
diff --git a/wezterm-gui/src/ssh_hosts.rs b/wezterm-gui/src/ssh_hosts.rs
index feccf5dc..a6dbcec8 100644
--- a/wezterm-gui/src/ssh_hosts.rs
+++ b/wezterm-gui/src/ssh_hosts.rs
@@ -48,7 +48,7 @@ pub struct SshHostSpec {
pub ssh_options: HashMap<String, String>,
/// Use WezTerm's multiplexed SSH (persistent, reconnecting) when true.
/// That requires `wezterm` installed on the remote; default to direct
- /// `ssh` (like `wezterm ssh`) so password auth + the shell work anywhere.
+ /// `ssh` (like `thinkterm ssh`) so password auth + the shell work anywhere.
#[serde(default)]
pub multiplexing: bool,
/// Override the default `ssh:<host>` workspace name.
diff --git a/wezterm-gui/src/workspace_threads.rs b/wezterm-gui/src/workspace_threads.rs
index 7125f7b9..24022920 100644
--- a/wezterm-gui/src/workspace_threads.rs
+++ b/wezterm-gui/src/workspace_threads.rs
@@ -61,7 +61,7 @@ pub struct Space {
#[serde(default)]
pub is_default: bool,
/// When set, this Space is dedicated to a wezterm mux client domain
- /// (`wezterm connect <name>`). Such Spaces are found-or-created by domain
+ /// (`thinkterm connect <name>`). Such Spaces are found-or-created by domain
/// name, are never claimed by startup/Dock windows, and never persist
/// layout locally (the remote mux server owns the layout truth).
#[serde(default, skip_serializing_if = "Option::is_none")]
@@ -2945,7 +2945,7 @@ impl WorkspaceThreadStore {
&mut self,
occupied: &std::collections::HashSet<SpaceId>,
) -> SpaceId {
- // Mux-domain Spaces belong to `wezterm connect`; startup and Dock
+ // Mux-domain Spaces belong to `thinkterm connect`; startup and Dock
// "New Window" must never claim them (they would materialize a local
// shell into a remote-owned workspace).
self.last_active_space_id
@@ -5394,7 +5394,7 @@ fn is_remote_project(project: &Project, spaces: &[Space]) -> bool {
fn thread_has_restorable_workspace(thread: &WorkspaceThread) -> bool {
// Mux-domain threads have no local layout to restore: their content lives
- // on the remote mux server and only materializes through `wezterm connect`.
+ // on the remote mux server and only materializes through `thinkterm connect`.
if is_mux_domain_project_id(&thread.project_id) {
return false;
}
@@ -5751,7 +5751,7 @@ pub fn create_remote_project_from_path(space_id: &str, path: &str) -> Result<Wor
Ok(thread_id)
}
-/// Everything `wezterm connect` needs to route a client-domain attach into
+/// Everything `thinkterm connect` needs to route a client-domain attach into
/// its dedicated Space.
#[derive(Debug, Clone)]
pub struct MuxDomainSpacePlan {
diff --git a/wezterm-mux-server-impl/src/sessionhandler.rs b/wezterm-mux-server-impl/src/sessionhandler.rs
index 51242dbd..6204807f 100644
--- a/wezterm-mux-server-impl/src/sessionhandler.rs
+++ b/wezterm-mux-server-impl/src/sessionhandler.rs
@@ -386,7 +386,7 @@ impl SessionHandler {
} else {
// If this session is a proxy, override the incoming id with
// the proxy information so that it is clear what is going
- // on from the `wezterm cli list-clients` information
+ // on from the `thinkterm cli list-clients` information
if let Some(proxy_id) = &self.proxy_client_id {
client_id.ssh_auth_sock = proxy_id.ssh_auth_sock.clone();
// Note that this `via proxy pid` string is coupled
diff --git a/wezterm-mux-server/src/main.rs b/wezterm-mux-server/src/main.rs
index 5c9c2200..d64dd6d8 100644
--- a/wezterm-mux-server/src/main.rs
+++ b/wezterm-mux-server/src/main.rs
@@ -16,12 +16,12 @@ mod daemonize;
#[derive(Debug, Parser)]
#[command(
- about = "Wez's Terminal Emulator\nhttp://github.com/wezterm/wezterm",
+ about = "ThinkTerm Multiplexer Server\nhttps://github.com/RoversX/thinkterm",
version = config::wezterm_version(),
trailing_var_arg = true,
)]
struct Opt {
- /// Skip loading wezterm.lua
+ /// Skip loading the ThinkTerm configuration
#[arg(long, short = 'n')]
skip_config: bool,
@@ -57,7 +57,7 @@ struct Opt {
pid_file_fd: Option<i32>,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm start -- bash -l` will spawn bash
+ /// For example: `thinkterm start -- bash -l` will spawn bash
/// as if it were a login shell.
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
prog: Vec<OsString>,
diff --git a/wezterm/Cargo.toml b/wezterm/Cargo.toml
index 979a8432..3ecd55d0 100644
--- a/wezterm/Cargo.toml
+++ b/wezterm/Cargo.toml
@@ -4,6 +4,15 @@ version = "0.1.0"
authors = ["Wez Furlong <[email protected]>"]
edition = "2018"
publish = false
+autobins = false
+
+[[bin]]
+name = "thinkterm"
+path = "src/main.rs"
+
+[[bin]]
+name = "wezterm"
+path = "src/bin/wezterm.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/wezterm/src/asciicast.rs b/wezterm/src/asciicast.rs
index 7636da68..d7a437de 100644
--- a/wezterm/src/asciicast.rs
+++ b/wezterm/src/asciicast.rs
@@ -338,7 +338,7 @@ enum Message {
#[derive(Debug, Parser, Clone)]
pub struct RecordCommand {
/// Start in the specified directory, instead of
- /// the default_cwd defined by your wezterm configuration
+ /// the default_cwd defined by your ThinkTerm configuration
#[arg(long)]
cwd: Option<std::path::PathBuf>,
@@ -348,7 +348,7 @@ pub struct RecordCommand {
outfile: Option<std::path::PathBuf>,
/// Start prog instead of the default_prog defined by your
- /// wezterm configuration
+ /// ThinkTerm configuration
#[arg(value_parser)]
prog: Vec<OsString>,
}
diff --git a/wezterm/src/bin/thinkterm.rs b/wezterm/src/bin/wezterm.rs
similarity index 59%
rename from wezterm/src/bin/thinkterm.rs
rename to wezterm/src/bin/wezterm.rs
index e2553c21..b466a6d9 100644
--- a/wezterm/src/bin/thinkterm.rs
+++ b/wezterm/src/bin/wezterm.rs
@@ -1,12 +1,13 @@
-//! `thinkterm` is the branded name for the ThinkTerm CLI. The full CLI
-//! lives in the `wezterm` binary built from this same crate; exec it so
-//! the two names stay perfectly in sync without compiling the crate twice.
+//! `wezterm` is the legacy compatibility name for the ThinkTerm CLI. The
+//! full CLI lives in the `thinkterm` binary built from this same crate; exec
+//! it so existing scripts keep working while all visible branding stays on
+//! ThinkTerm.
fn main() {
let exe_name = if cfg!(windows) {
- "wezterm.exe"
+ "thinkterm.exe"
} else {
- "wezterm"
+ "thinkterm"
};
let exe = match std::env::current_exe()
.ok()
@@ -14,7 +15,7 @@ fn main() {
{
Some(exe) => exe,
None => {
- eprintln!("thinkterm: unable to locate the {exe_name} binary next to this one");
+ eprintln!("wezterm: unable to locate the {exe_name} binary next to this one");
std::process::exit(1);
}
};
@@ -26,7 +27,7 @@ fn main() {
{
use std::os::unix::process::CommandExt;
let err = cmd.exec();
- eprintln!("thinkterm: failed to exec {cmd:?}: {err}");
+ eprintln!("wezterm: failed to exec {cmd:?}: {err}");
std::process::exit(1);
}
#[cfg(windows)]
@@ -34,7 +35,7 @@ fn main() {
match cmd.status() {
Ok(status) => std::process::exit(status.code().unwrap_or(1)),
Err(err) => {
- eprintln!("thinkterm: failed to run {cmd:?}: {err}");
+ eprintln!("wezterm: failed to run {cmd:?}: {err}");
std::process::exit(1);
}
}
diff --git a/wezterm/src/cli/mod.rs b/wezterm/src/cli/mod.rs
index b9325957..ca8e32d5 100644
--- a/wezterm/src/cli/mod.rs
+++ b/wezterm/src/cli/mod.rs
@@ -58,7 +58,7 @@ pub struct CliCommand {
/// Prefer connecting to a background mux server.
/// The default is to prefer connecting to a running
- /// wezterm gui instance
+ /// ThinkTerm GUI instance
#[arg(long = "prefer-mux")]
prefer_mux: bool,
diff --git a/wezterm/src/cli/spawn_command.rs b/wezterm/src/cli/spawn_command.rs
index 7c8b6c03..0d1b5aa7 100644
--- a/wezterm/src/cli/spawn_command.rs
+++ b/wezterm/src/cli/spawn_command.rs
@@ -44,7 +44,7 @@ pub struct SpawnCommand {
workspace: Option<String>,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm cli spawn -- bash -l` will spawn bash
+ /// For example: `thinkterm cli spawn -- bash -l` will spawn bash
/// as if it were a login shell.
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
prog: Vec<OsString>,
diff --git a/wezterm/src/cli/split_pane.rs b/wezterm/src/cli/split_pane.rs
index e51f5082..2bd7a472 100644
--- a/wezterm/src/cli/split_pane.rs
+++ b/wezterm/src/cli/split_pane.rs
@@ -61,7 +61,7 @@ pub struct SplitPane {
move_pane_id: Option<PaneId>,
/// Instead of executing your shell, run PROG.
- /// For example: `wezterm cli split-pane -- bash -l` will spawn bash
+ /// For example: `thinkterm cli split-pane -- bash -l` will spawn bash
/// as if it were a login shell.
#[arg(value_parser, value_hint=ValueHint::CommandWithArguments, num_args=1..)]
prog: Vec<OsString>,
diff --git a/wezterm/src/main.rs b/wezterm/src/main.rs
index ff00baa5..52a2a776 100644
--- a/wezterm/src/main.rs
+++ b/wezterm/src/main.rs
@@ -5,7 +5,7 @@ use clap_complete::{generate as generate_completion, shells, Generator as Comple
use config::{wezterm_version, ConfigHandle};
use mux::Mux;
use std::ffi::OsString;
-use std::io::Read;
+use std::io::{Read, Write};
use termwiz::caps::Capabilities;
use termwiz::escape::esc::{Esc, EscCode};
use termwiz::escape::OneBased;
@@ -23,11 +23,12 @@ mod cli;
#[derive(Debug, Parser)]
#[command(
+ name = "thinkterm",
about = "ThinkTerm - a workspace-first terminal\nhttps://github.com/RoversX/thinkterm",
version = wezterm_version()
)]
pub struct Opt {
- /// Skip loading wezterm.lua
+ /// Skip loading the ThinkTerm configuration
#[arg(long, short = 'n')]
skip_config: bool,
@@ -87,6 +88,120 @@ impl CompletionGenerator for Shell {
}
}
+fn render_shell_completion(shell: Shell) -> anyhow::Result<String> {
+ use clap::CommandFactory;
+
+ let mut cmd = Opt::command();
+ let name = cmd.get_name().to_string();
+ let mut rendered = vec![];
+ generate_completion(shell.clone(), &mut cmd, name, &mut rendered);
+ let mut rendered = String::from_utf8(rendered)
+ .context("shell completion generator produced non-UTF-8 output")?;
+
+ // ThinkTerm is the canonical command, but the legacy `wezterm`
+ // launcher remains supported. Register that name without maintaining a
+ // second, independently generated command tree.
+ match shell {
+ Shell::Bash => {
+ rendered = rendered
+ .lines()
+ .map(|line| {
+ if line.trim_start().starts_with("complete -F _thinkterm")
+ && line.ends_with(" thinkterm")
+ {
+ format!("{line} wezterm")
+ } else {
+ line.to_string()
+ }
+ })
+ .collect::<Vec<_>>()
+ .join("\n");
+ rendered.push('\n');
+ }
+ Shell::Fish => {
+ rendered.push_str("\ncomplete -c wezterm -w thinkterm\n");
+ }
+ Shell::Zsh => {
+ rendered = rendered.replacen("#compdef thinkterm", "#compdef thinkterm wezterm", 1);
+ rendered = rendered.replacen(
+ "compdef _thinkterm thinkterm\n",
+ "compdef _thinkterm thinkterm wezterm\n",
+ 1,
+ );
+ }
+ Shell::Elvish => {
+ rendered.push_str(
+ "\nset edit:completion:arg-completer[wezterm] = $edit:completion:arg-completer[thinkterm]\n",
+ );
+ }
+ Shell::PowerShell => {
+ rendered = rendered.replacen(
+ "-CommandName 'thinkterm' -ScriptBlock",
+ "-CommandName 'thinkterm', 'wezterm' -ScriptBlock",
+ 1,
+ );
+ }
+ Shell::Fig => {
+ rendered = rendered.replacen(
+ " name: \"thinkterm\",",
+ " name: [\"thinkterm\", \"wezterm\"],",
+ 1,
+ );
+ }
+ }
+
+ Ok(rendered)
+}
+
+#[cfg(test)]
+mod shell_completion_tests {
+ use super::*;
+
+ #[test]
+ fn bash_registers_canonical_and_legacy_commands() {
+ let completion = render_shell_completion(Shell::Bash).unwrap();
+ assert!(completion.contains("complete -F _thinkterm"));
+ assert!(completion.contains("thinkterm wezterm"));
+ }
+
+ #[test]
+ fn zsh_registers_canonical_and_legacy_commands() {
+ let completion = render_shell_completion(Shell::Zsh).unwrap();
+ assert!(completion.starts_with("#compdef thinkterm wezterm\n"));
+ assert!(completion.contains("compdef _thinkterm thinkterm wezterm\n"));
+ }
+
+ #[test]
+ fn fish_wraps_the_canonical_command_for_legacy_users() {
+ let completion = render_shell_completion(Shell::Fish).unwrap();
+ assert!(completion.contains("complete -c thinkterm"));
+ assert!(completion.ends_with("complete -c wezterm -w thinkterm\n"));
+ }
+
+ #[test]
+ fn elvish_registers_canonical_and_legacy_commands() {
+ let completion = render_shell_completion(Shell::Elvish).unwrap();
+ assert!(completion.contains("edit:completion:arg-completer[thinkterm]"));
+ assert!(completion.ends_with(
+ "set edit:completion:arg-completer[wezterm] = $edit:completion:arg-completer[thinkterm]\n"
+ ));
+ }
+
+ #[test]
+ fn powershell_registers_canonical_and_legacy_commands() {
+ let completion = render_shell_completion(Shell::PowerShell).unwrap();
+ assert!(completion.contains(
+ "Register-ArgumentCompleter -Native -CommandName 'thinkterm', 'wezterm' -ScriptBlock"
+ ));
+ }
+
+ #[test]
+ fn fig_registers_canonical_and_legacy_commands() {
+ let completion = render_shell_completion(Shell::Fig).unwrap();
+ assert!(completion.contains("name: [\"thinkterm\", \"wezterm\"]"));
+ }
+}
+
#[derive(Debug, Parser, Clone)]
enum SubCommand {
#[command(
@@ -107,7 +222,7 @@ enum SubCommand {
#[command(name = "serial", about = "Open a serial port")]
Serial(SerialCommand),
- #[command(name = "connect", about = "Connect to wezterm multiplexer")]
+ #[command(name = "connect", about = "Connect to ThinkTerm multiplexer")]
Connect(ConnectCommand),
#[command(name = "ls-fonts", about = "Display information about fonts")]
@@ -192,7 +307,7 @@ struct ImgCatCommand {
/// 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.
+ /// The default value matches the limit set by ThinkTerm.
/// Note that resampling the image here will reduce any animated
/// images to a single frame.
#[arg(long, default_value = "25000000")]
@@ -201,7 +316,7 @@ struct ImgCatCommand {
/// 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.
+ /// to display in ThinkTerm.
#[arg(long)]
no_resample: bool,
@@ -756,10 +871,8 @@ fn run() -> anyhow::Result<()> {
SubCommand::Record(cmd) => cmd.run(init_config(&opts)?),
SubCommand::Replay(cmd) => cmd.run(),
SubCommand::ShellCompletion { shell } => {
- use clap::CommandFactory;
- let mut cmd = Opt::command();
- let name = cmd.get_name().to_string();
- generate_completion(shell, &mut cmd, name, &mut std::io::stdout());
+ let rendered = render_shell_completion(shell)?;
+ std::io::stdout().write_all(rendered.as_bytes())?;
Ok(())
}
}