docs: fix mistake with PATH example

closes: https://github.com/wez/wezterm/issues/5967
This commit is contained in:
Wez Furlong committed 2024-09-15 08:24:26 -07:00
1 parent b3d1885187
commit 9bf30b8dd6
1 file changed
+2 -7
+2 -7
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',
}
```