标签: drupal drush
我输入vi ~/.bash_profile,但该文件不为空。我应该在哪里放export PATH="$HOME/.composer/vendor/bin:$PATH"?
vi ~/.bash_profile
export PATH="$HOME/.composer/vendor/bin:$PATH"
答案 0 :(得分:4)
PATH=$HOME/.composer/vendor/bin:$HOME/bin:$PATH export PATH
我只是在一行中做到这一点(注意我有Homebrew的路径,你有$ HOME / bin):
export PATH=~/.composer/vendor/bin:/usr/local/bin:$PATH