wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

macOS PATH instructions: Should PATH be a string?

Open schlich opened this issue 6 months ago • 3 comments

What page or section of the docs have an issue? FAQ

Describe the issue In the example towards the bottom, we have:

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',
  },
}

however, PATH is expected to be a string, and at least on my system, would throw a Lua error when the configuration was saved until this was corrected.

schlich avatar Aug 15 '24 08:08 schlich