Jump to content


  • Content count

  • Joined

  • Last visited

  1. 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
  2. ImageOptim Workflow

    The new code doesn't work with spaces either. I knocked up a quick fix.
  3. ImageOptim Workflow

    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.
  4. 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
  5. Quick Archive Workflow

  6. Quick Archive Workflow

    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.
  7. Search the WordPress function reference

    I took the liberty of adding it to Dev Doctor ... pull request: https://github.com/sydlawrence/alfred-dev-doctor/pull/31
  8. Apologies for the issues. I think I've fixed it now. New version here. [link in original post also updated]
  9. 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.
  10. Ah, found the bug. New version here. Hope that one works.
  11. Can you try this one: https://gist.github.com/jamesstout/5358677
  12. Can you show me the output you get from: ls -l /etc/localtime thanks
  13. 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.
  14. 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
  15. I wonder if it's a bash version issue? Could you run type -a bash which bash bash --version In your Terminal? thanks