nic.pl 在zsh 环境下提示错误
2018-03-10 本文已影响51人
杜员外
终端
首先我是使用的zsh,一般的终端的话检查 .bash_profile 中是否
export THEOS=/opt/theos
export PATH=/opt/theos/bin:$PATH
如果有export还是提示No such file or directory,需要source .bash_profile 你再试试?
ZSH
在.bash_profile 中加上上面的export
然后打开.zshrc 在最后加上 source .bash_profile

解决问题了,直接打开终端或者iterm 都可以直接输入nic.pl了 GET
或者你直接输入 /opt/theos/bin/nic.pl 也行