Skip to content

Where does PATH come from OSX? #3905

Answered by wez
newhook asked this question in Q&A
Jun 27, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Finder has a minimal path. Finder is usually what launches wezterm and passes on its PATH.
Neither Finder nor wezterm use your shell when launching programs, so none of your shell configuration to change the path is visible to wezterm itself. Normally that isn't an issue because wezterm launches your shell into a terminal, but if you need wezterm to launch something that is not in your path, you can use a fully qualified path in eg: the default_prog config, or you can adjust environment variables in wezterm. See https://wezfurlong.org/wezterm/config/launch.html for more information on launching programs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@XA21X
Comment options

Answer selected by newhook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants