deanishe Posted July 27, 2021 Share Posted July 27, 2021 12 hours ago, luckman212 said: Not anywhere that I can see, but that'd probably be a good addition. Alfred doesn’t stop you from adding a PATH variable, but I think it ignores anything you set. Link to comment
luckman212 Posted July 27, 2021 Author Share Posted July 27, 2021 (edited) This is great. Glad to see so much discussion and careful thought around this issue. Thanks @deanishe for your explanation of the subprocess / PATH issue. And thanks to @vitor and of course @Andrew as well. I agree with the concept of a per-workflow: [x] Enable Homebrew support checkbox that sets PATH and HOMEBREW_PREFIX . That seems like a really low-impact way to provide this functionality without affecting anything for existing users or people who chose not to use it. 2 hours ago, deanishe said: Alfred doesn’t stop you from adding a PATH variable, but I think it ignores anything you set. Actually it doesn't ignore it—I've run into trouble once or twice by overriding PATH and forgetting to include a necessary dir. Example: (Script: echo $PATH ) Edited July 27, 2021 by luckman212 deanishe 1 Link to comment
deanishe Posted July 27, 2021 Share Posted July 27, 2021 (edited) 9 hours ago, luckman212 said: Actually it doesn't ignore it—I've run into trouble once or twice by overriding PATH and forgetting to include a necessary dir. Really? I remember having trouble with a variable called "path". I'd forgotten that "path" is the same as "PATH" in zsh, and it was getting overwritten, so I assumed that Alfred was setting PATH after the other variables. Good to know. Thanks for setting me straight. Edited July 27, 2021 by deanishe Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now