zsh 安装 rvm 遇到的问题

2015-11-04  本文已影响246人  不思想者Alex

执行rvm get stable遇到如下错误

Upgrade Notes:

/Users/alex/.zshrc:63:export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"

  * WARNING: Above files contains `PATH=` with no `$PATH` inside, this can break RVM,
    for details check https://github.com/wayneeseguin/rvm/issues/1351#issuecomment-10939525
    to avoid this warning append #PATH.

  * No new notes to display.

RVM reloaded!

发现是zsh的BUG, 只要进入.zshrc, 更改一下PATH就行了

#Before
PATH="/user/custom/path"
#Aftwe
PATH="$PATH:/user/custom/path"
上一篇 下一篇

猜你喜欢

热点阅读