【发布时间】:2018-11-21 02:28:38
【问题描述】:
我的 bash_profile 如下:
export PATH+=":/Users/steve/workspace/bash-tools/misc";
当我使用时
source ~/.bash_profile
它说
/Users/style/.bash_profile:export:2: not valid in this context: PATH+
我在谷歌上搜索过,但没有找到,请帮忙
【问题讨论】:
-
您使用的是 bash 还是 zsh?这看起来像是一条 zsh 错误消息...
-
我正在使用 zsh。有问题吗?