1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

docs: fix mistake with PATH example

closes: https://github.com/wez/wezterm/issues/5967
This commit is contained in:
Wez Furlong 2024-09-15 08:24:26 -07:00
parent b3d1885187
commit 9bf30b8dd6
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -371,13 +371,8 @@ and another other option is to explicitly set the PATH up:
```lua
config.set_environment_variables = {
PATH = {
-- prepend the path to your utility
wezterm.home_dir
.. '/.local/bob/nvim-bin:'
-- and include the rest of the PATH
.. os.getenv 'PATH',
},
-- prepend the path to your utility and include the rest of the PATH
PATH = wezterm.home_dir .. '/.local/bob/nvim-bin:' .. os.getenv 'PATH',
}
```