Where do I find the bashrc file on Mac?

后端 未结 7 1214
死守一世寂寞
死守一世寂寞 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:43

    I would think you should add it to ~/.bash_profile instead of .bashrc, (creating .bash_profile if it doesn't exist.) Then you don't have to add the extra step of checking for ~/.bashrc in your .bash_profile

    Are you comfortable working and editing in a terminal? Just in case, ~/ means your home directory, so if you open a new terminal window that is where you will be "located". And the dot at the front makes the file invisible to normal ls command, unless you put -a or specify the file name.

    Check this answer for more detail.

提交回复
热议问题