How to remove entry from $PATH on mac

前端 未结 7 1665
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-22 16:44

I was trying to install Sencha Touch SDK tools 2.0.0 but could not run it properly. It created an entry in the $PATH variable. Later I deleted the sencha sdk tools folder b

7条回答
  •  臣服心动
    2020-12-22 17:27

    Check the following files:

    /etc/bashrc
    /etc/profile
    ~/.bashrc
    ~/.bash_profile
    ~/.profile
    ~/.MacOSX/environment.plist
    

    Some of these files may not exist, but they're the most likely ones to contain $PATH definitions.

提交回复
热议问题