how to edit vim bash profile file in mac code example Example: how to open bash_profile > touch ~/.bash_profile; open ~/.bash_profile