Skip to content

Commit

Permalink
docs: fix mistake with PATH example
Browse files Browse the repository at this point in the history
closes: #5967
  • Loading branch information
wez committed Sep 15, 2024
1 parent b3d1885 commit 9bf30b8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
```

Expand Down

0 comments on commit 9bf30b8

Please sign in to comment.