今天我注册了Heroku帐户,并在我的Mac上安装了Toolbelt(OSX 10.10.1)。Heroku Toolbelt:-bash:别名:已添加:未找到
当我打开了我的终端,我得到这个:
Last login: Sun Jan 4 21:50:53 on ttys000
-bash: alias: Added: not found
-bash: alias: by: not found
-bash: alias: the: not found
-bash: alias: Heroku: not found
-bash: alias: Toolbelt: not found
Zulhilmis-MBP:~ zulhilmizainudin$
这是我.bash_profile
:
export PATH=/usr/local/git/bin/:$PATH
export PATH=/Applications/android_sdk/tools:$PATH
export ANDROID="/Applications/android_sdk/tools"
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=/Applications/MAMP/bin/php/php5.6.2/bin:$PATH
alias php='/Applications/MAMP/bin/php/php5.6.2/bin/php'### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
我的问题:
- 如何固定里面的
not found
错误终点站? - 我的
.bash_profile
是否正确?最近,我在该文件中添加了许多新行,并且我完全不知道这个.bash_profile
的事情。当我遇到困难时,我只是从网上复制粘贴。如果看起来不对,请给我建议更正这个.bash_profile
?
即使稍后发生变化,您也只需要导出一次变量。 – 2015-01-04 14:12:07