Search the Community
Showing results for tags 'Brew'.
-
Hi guys, This workflow lets you easily control Homebrew and Cask with Alfred. Feel free to give some feedback! GitHub: https://github.com/fniephaus/alfred-homebrew Download-Link: https://github.com/fniephaus/alfred-homebrew/releases/latest
-
Hi there I would like to run a python script with an Alfred workflow but I realized that the python version I run in the terminal is not the same Alfred is running The python I use was installed with homebrew, and my path is set up so I run the "brew installed" python which is 2.7.3 and is located here: $ which python $ /usr/local/bin/python I setup my script to print out the python version with this statement: $ print(sys.version) When I run it in the terminal I get 2.7.3, but the workflow notification prints out 2.7.2 The shebang in my script.py is #!/usr/bin/env python If I set my shebang to #!/usr/local/bin/python everything work fine and the workflow notification prints out 2.7.3 But I don't want to change all my scripts and hardcode the path, I would prefer to use #!/usr/bin/env python Anybody has a trick? Is there anything to do with my ~/.bash* dotfiles, or is this Alfred not loading the user environment? Thanks for your help!