This may be a very empty question, but I'm trying to install Homestead on my Mac. I follow the installation steps through http://laravel.com/docs/4.2/homestead , however there is a point during the installation process where it indicates "Be sure to place the ~ / symbol. Linker / provider directory / bin directory in your PATH, so the homestead executable will be found when you run the homestead command in your terminal. " How to do it using zsh? Thank!
in any profile you use (.zprofile or .profile or something else), you should add the line:
export PATH = ~/.composer/vendor/bin:$PATH
source ~/.zprofile
~/.bashrc :
PATH = "~/.composer//: {$ PATH}"
In one of your source files in your home directory (~ / .bashrc or ~ / .zshrc)
export laravel=/Users/username/.composer/vendor/bin export PATH="$laravel:$PATH"
If your PATH is in the .bashrc file :
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
If your PATH is in the .zshrc file :
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.zshrc