stouty
Member-
Posts
29 -
Joined
-
Last visited
stouty's Achievements
Member (4/5)
4
Reputation
-
Updated to v1.5 - Improved Git workflow and improved PATH search Update via Alleyoop or manual download: Cheaters.alfredworkflow Let me know if that sorts things out for you. thanks
-
The new code doesn't work with spaces either. I knocked up a quick fix.
-
Alas it doesn't seem to work if there are spaces in path, even with all the escaping Alfred does. The shell script imageOptim doesn't quote any of the path/file variables. I started a branch to fix it, but it seems like he's ripped out all the code and now it starts up the ImageOptim.app.
-
I think your git command is not in the path inherited by the Alfred process Can you type in a Terminal and post the results echo $PATH which git type -P git type -ap git Then in Alfred create a new blank workflow, say hotkey to script, oh hold on ... here, try this: getGitPath.alfredworkflow See what the output is (it's posted as a large type notification and copied to the clipboard for you to paste in here) For me: $ echo $PATH /Users/james/.rbenv/shims:/Users/james/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/Users/james/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/james/Projects/Scripts:/Users/james/Scripts $ which git /usr/local/bin/git $ type -P git /usr/local/bin/git $ type -ap git /usr/local/bin/git /usr/bin/git /usr/local/bin/git The from the workflow: PATH = /usr/bin:/bin:/usr/sbin:/sbin which git = [/usr/bin/git] So the Cheaters workflow works for me as I have two gits installed. Two options: 1. I add a load of paths to the Info.plist and export them. e.g. export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/bin:/usr/sbin:/sbin resulting from getGitPath.alfredworkflow in: PATH = /usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/bin:/bin:/usr/sbin:/sbin which git = [/usr/local/bin/git] 2. I spend a little time finding the right git in my workflow. I'll opt for 2 and submit an update, but I'd like to see your output if possible to make sure I am thinking along the right lines. thanks James
-
thanks!
-
Link seems to be broken: Heroku | No such appThere is no app configured at that hostname. Perhaps the app owner has renamed it, or you mistyped the URL.
-
Search the WordPress function reference
stouty replied to keesiemeijer's topic in Share your Workflows
I took the liberty of adding it to Dev Doctor ... pull request: https://github.com/sydlawrence/alfred-dev-doctor/pull/31 -
BabyAzerty reacted to a post in a topic: Run Cheaters by Brett Terpstra Workflow
-
BabyAzerty reacted to a post in a topic: Run Cheaters by Brett Terpstra Workflow
-
Apologies for the issues. I think I've fixed it now. New version here. [link in original post also updated]
-
Delete the /Users/jeromepasquier/Library/Application Support/Alfred 2/Workflow Data/com.stouty.cheaters/cheaters directory, then re-run. It should do the clone for you.
-
Ah, found the bug. New version here. Hope that one works.
-
Hmm, let me have a look. You are in germany right? CEST = +0200 UTC? "now" always shows UTC, so that looks right. My tz looks wrong.
-
Could you try this debug version? It writes some info to a file on your Desktop -> ~/Desktop/Cheaters_DEBUG.txt Could you send me the file if you have chance? thanks James
-
I wonder if it's a bash version issue? Could you run type -a bash which bash bash --version In your Terminal? thanks