command not found: gls

背景

正常打开电脑 启动Terminal 终端。正常命令都不能使用了��,如图所示 记录下解决过程。

这里写图片描述


.zshrc 文件中配置这个环境变量

export PATH=/bin:/usr/bin:/usr/local/bin:$PATH

然后就正常了 也不知道什么鬼原因。

https://stackoverflow.com/questions/40175669/when-typing-ls-command-i-get-zsh-command-not-found-gls


猜你喜欢

转载自blog.csdn.net/lucky9322/article/details/79972797