我已经更新我的 shell 到 ZSH。当我 source ~/.bashrc
。我得到这个错误
你的医生说错了。 当我执行这个命令时
echo "export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules" >> ~/.bashrc && source ~/.bashrc
/home/amerrnath/. bashrc: 17: command not found: shopt/home/amerrnath/. bashrc: 17: command not found: shopt /home/amerrnath/. bashrc: 25: command not found: shopt/home/amerrnath/. bashrc: 25: command not found: shopt /home/amerrnath/. bashrc: 109: command not found: shopt /usr/share/bash- 完成/bash _ 补全: 35: 解析“]]”附近的错误
请帮我解决这个问题