e.g.,
$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/bin:~/bin:/usr/local/Cellar/python3/3.2.3/bin $ vim :! echo $PATH /usr/bin:/bin
This is a known problem introduced by Apple in OS X 10.5 Leopard. If you are using Bash or Zsh and are using non-interactive shells, you are affected. Running sudo chmod ugo-x /usr/libexec/path_helper will fix you up, but you should take a look at the article to see why.
This is a known problem introduced by Apple in OS X 10.5 Leopard.
If you are using Bash or Zsh and are using non-interactive shells, you are affected.
Running sudo chmod ugo-x /usr/libexec/path_helper will fix you up, but you should take a look at the article to see why.
sudo chmod ugo-x /usr/libexec/path_helper
From this SO answer