Jump to content

thib_thib

Member
  • Posts

    2
  • Joined

  • Last visited

thib_thib's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. It seems so obvious, I don't know how I have not thought about that earlier. Thanks a lot !
  2. Hi, Since my Mavericks upgrade, I have a small $PATH issue : I have a Maven workflow, which basically launch some bash commands. I installed Maven using homebrew, so I have a symlink to the Maven bin in my /usr/local/bin, and this /usr/local/bin is in my /etc/paths loaded in my $PATH variable. So far, so good, when I open a terminal window, the command mvn is found. BUT when I try to launch a mvn command from Alfred, not in Terminal Command mode but in Run Script mode, it fails and I have an exit status of 127, which I learned is for "Command not found". And when I looked at the $PATH from the Run Script mode, I found that my /usr/local/bin wasn't in it, so is suppose the /etc/paths isn't loaded. I learned that there are many ways to set environments variables (http://www.dowdandassociates.com/blog/content/howto-set-an-environment-variable-in-mac-os-x-terminal-only/), I tried some of the methods but no one ever worked. So my question is : how (or where) can I modify the $PATH variable loaded in the Run Script mode ?
×
×
  • Create New...