1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

docs: add wezterm start -- vim ~/.wezterm.lua example

Refs: https://github.com/wez/wezterm/issues/168
This commit is contained in:
Wez Furlong 2020-04-12 15:09:41 -07:00
parent f1192471fb
commit b9b0b2b4b0

View File

@ -38,6 +38,17 @@ return {
}
```
## Launching a different program as a one off via the CLI
If you want to make a shortcut for your desktop environment that will,
for example, open an editor in wezterm you can use the `start` subcommand
to launch it. This example opens up a new terminal window running vim
to edit your wezterm configuration:
```bash
wezterm start -- vim ~/.wezterm.lua
```
## Passing Environment variables to the spawned program
The `set_environment_variables` configuration setting can be used to