id = "wezterm"
name = "WezTerm"
homepage = "https://wezterm.org"
description = "A GPU-accelerated cross-platform terminal emulator and multiplexer implemented in Rust."
icon = "SimpleIcons:wezterm"
executables = ["wezterm", "wezterm-gui"]
[dotfiles]
paths = [
"~/.wezterm.lua",
"~/.config/wezterm/",
]
secret = []
[commands]
format = 1
label = "WezTerm"
description = "Start the GUI or open an SSH session in a new window. Multiplexer, font and recording commands are left out."
quality = "ai-draft"
base = "fig:wezterm"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wezterm.ts"
license = "MIT"
[[commands.subcommand]]
path = ["start"]
label = "Start WezTerm"
description = "Open a window, optionally running a program."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wezterm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "prog"
label = "Program and arguments"
description = "Program to run instead of the default shell."
type = "string"
position = 0
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "cwd"
label = "Working directory"
type = "path"
option = ["--cwd"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "workspace"
label = "Workspace"
type = "string"
option = ["--workspace"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "class"
label = "Window class"
type = "string"
option = ["--class"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "always_new_process"
label = "Always start a new process"
type = "boolean"
option = ["--always-new-process"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "no_auto_connect"
label = "Skip auto-connect domains"
type = "boolean"
option = ["--no-auto-connect"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "start"
label = "Start window"
fields = ["cwd", "prog"]
[[commands.subcommand.task]]
id = "new"
label = "Start new process"
fields = ["cwd", "always_new_process"]
set = { always_new_process = [true] }
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["prog", "cwd", "always_new_process"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["class", "no_auto_connect", "workspace"]
[[commands.subcommand]]
path = ["ssh"]
label = "SSH session"
description = "Connect to a host in a WezTerm window."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wezterm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "target"
label = "User@host[:port]"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "prog"
label = "Remote program"
type = "string"
position = 1
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "class"
label = "Window class"
type = "string"
option = ["--class"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "verbose"
label = "Trace SSH protocol"
type = "boolean"
option = ["-v"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "ssh"
label = "Connect"
fields = ["target", "prog"]
required = ["target"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["target", "prog"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["class", "verbose"]