zsh中提示mvn 或者vim command not found

如果vim提示command not found

一、首先输入命令,让暂时可以使用vim等命令

export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin

二、由于使用zsh,bash_profile不生效,所以在.zshrc中添加path,保存即可

猜你喜欢

转载自blog.csdn.net/muyimo/article/details/113864484