Files
LLeMbas-TTY/docs/config/lua/config/default_prog.md
T

20 lines
459 B
Markdown

# `default_prog`
If no `prog` is specified on the command line, use this
instead of running the user's shell.
For example, to have `wezterm` always run `top` by default,
you'd use this:
```lua
return {
default_prog = {"top"}
}
```
`default_prog` is implemented as an array where the 0th element
is the command to run and the rest of the elements are passed
as the positional arguments to that command.
See also: [Launching Programs](../../launch.html)