Where do I find the bashrc file on Mac?

后端 未结 7 1221
死守一世寂寞
死守一世寂寞 2020-12-04 08:30

Hello I am following this page.. I\'m installing Python onto my mac so that I can set up a Django / Eclipse development environment.
However I am not too su

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 08:46

    The .bash_profile for macOS is found in the $HOME directory. You can create the file if it does not exit. Sublime Text 3 can help.

    • If you follow the instruction from OS X Command Line - Sublime Text to launch ST3 with subl then you can just do this

      $ subl ~/.bash_profile
      
    • An easier method is to use open

      $ open ~/.bash_profile -a "Sublime Text"
      

    Use Command + Shift + . in Finder to view hidden files in your home directory.

提交回复
热议问题