mbigras Posted September 15, 2016 Share Posted September 15, 2016 Is it possible to easily run custom bash scripts with Alfred, but run them from my local machine, instead of typing them into Alfred? For example, if I have the following script: ➜ xdoc git:(master) ✗ pwd /Users/max/Dropbox/work/src/github.com/mbigras/xdoc ➜ xdoc git:(master) ✗ ls README.md xcats xdoc xdoc.mm ➜ xdoc git:(master) ✗ readlink xcats /Users/max/Dropbox/work/src/github.com/mbigras/xdoc/xcats ➜ xdoc git:(master) ✗ cat xcats #!/usr/bin/env bash echo inside xcats with args: $@ with the following workflow, I get the following error, please see attached images. So I'm wondering how can I pipe alfred output into my bash scripts without manually writing them inside the Alfred IDE? Thanks Link to comment
deanishe Posted September 15, 2016 Share Posted September 15, 2016 I'm not entirely sure what it is you're trying to do. Do you just want to run the /Users/max/Dropbox/work/src/github.com/mbigras/xdoc/xcats script from Alfred? If so, you can do that with Run Script action. Set Language to External Script and paste the path to your script in the Script File box. 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