How do I change my (non-interactive shell) PATH?
You should create the file ~/.MacOSX/environment.plist with inside

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
&lt;key&gt;PATH&lt;/key&gt;
&lt;string&gt;/Users/gio/.dotfiles/bin:/usr/local/bin:/usr/bin/:/usr/sbin/:/bin:/sbin&lt;/string&gt;
&lt;key&gt;PYTHONPATH&lt;/key&gt;
&lt;string&gt;/Users/gio/.local:/Users/gio/.local/lib/python2.7/site-packages&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;


What I wrote above is just an example, but I think you get the main point here. After you create the file, log out, log in, and you should be all set. You could have a ruby path as well, etc.