I have a question.
- I install ZSH, Composer, Laravel Installer;
- In ~ / .zshrc in
$PATHI added "~ / .composer / vendor / bin". - When I execute
echo $PATH, I get the line:
~ / .composer / provider / bin: / USR / local / bin: / USR / bin: / bin: / USR / SBIN: / SBIN:
But when I try to execute
laravel new blog
I get an error
zsh: command not found: laravel.
If I create an alias, it works fine.
The composer also does not work without an alias.
So where is my problem? I think I'm modifying $ PATH so as not to create an alias, but it does not work.
export ZSH=/Users/davydov/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(git)
export PATH="~/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:"
source $ZSH/oh-my-zsh.sh
source ~/.aliases

source
share