Weird behaviour with zsh PATH
问题 I just encourage a weird problem with zsh today. My environment is Mac OS X Yosemite, zsh 5.0.5 (x86_64-apple-darwin14.0) In .zshrc, I have manually set the PATH variable to something like export PATH="$PATH:~/.composer/vendor/bin" Try echo $PATH in terminal, the result is as expected (contained ~/.composer/vendor/bin ). Then try executing a binary from ~/.composer/vendor/bin , It'll always return me "zsh: command not found" error. Try switching to bash, echo $PATH is also as expected, have