美文网首页
nic.pl 在zsh 环境下提示错误

nic.pl 在zsh 环境下提示错误

作者: 杜员外 | 来源:发表于2018-03-10 14:24 被阅读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

image.png

解决问题了,直接打开终端或者iterm 都可以直接输入nic.pl了 GET

或者你直接输入 /opt/theos/bin/nic.pl 也行

相关文章

网友评论

      本文标题:nic.pl 在zsh 环境下提示错误

      本文链接:https://www.haomeiwen.com/subject/gozvfftx.html