解决办法
export PATH=/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
这样就可以使用vim打开bash_profile了,将修改错误的删除就ok了。
解决办法
export PATH=/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
这样就可以使用vim打开bash_profile了,将修改错误的删除就ok了。
本文标题:mac系统变量bash_profile修改错误后的补救办法
本文链接:https://www.haomeiwen.com/subject/hjefuhtx.html
网友评论