linwwwwws

https://apple.stackexchange.com/questions/216125/how-can-i-reset-path-in-osx

显示mac隐藏文件shift+command+.(这是因为无法从终端打开了只能去文件夹寻找)

 

在~/.bash_profile中修改如下

export PATH  
PATH=/usr/local/bin:/usr/local/sbin:"$PATH"  
PATH=/opt/local/bin:/opt/local/sbin:"$PATH"

然后关闭shell的所有窗口重新开一遍

分类:

技术点:

相关文章:

  • 2021-08-26
  • 2022-02-07
  • 2022-01-04
  • 2021-05-25
  • 2022-02-11
  • 2021-12-20
猜你喜欢
  • 2022-01-14
  • 2021-11-17
  • 2022-01-29
  • 2021-05-02
  • 2022-01-17
  • 2021-12-10
  • 2021-10-30
相关资源
相似解决方案