Blazej Posted July 19, 2019 Share Posted July 19, 2019 Can I select a custom path to python/ruby/swift for a script in Alfred 4? Link to comment
deanishe Posted July 19, 2019 Share Posted July 19, 2019 If you want to use a specific interpreter, either change the shebang in your script or use /bin/bash as the Language and specify the full path to the interpreter: /usr/local/bin/python scriptname.py "$1" Link to comment
Blazej Posted July 23, 2019 Author Share Posted July 23, 2019 Ok, so I can do the same with Alfred 3, right? Link to comment
deanishe Posted July 23, 2019 Share Posted July 23, 2019 24 minutes ago, Blazej said: Ok, so I can do the same with Alfred 3, right? Yes. When you set Language to /bin/bash, you're basically turning Alfred into a shell. You can run anything you could from your shell (differing environment notwithstanding). Both Alfred 3 & 4 also support setting Language to "External Script", which will run anything that's executable. 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