/etc/bashrc:37: command not found: shopt
2015年3月17日 16:17
在zsh中配置jdk,使用source .bash_profile出现错误
1 2 3 4 5 | ➜ ~ source .bash_profile /etc/bashrc :37: command not found: shopt /etc/bashrc :fc:38: event not found: -a /etc/bashrc :40: command not found: shopt /etc/bashrc :51: command not found: shopt |
zsh的环境变量需要配置在~/.zshrc中,不再是bash的._bash_profile