loading...

re: Bash profile shortcuts and terminal customizations VIEW POST

TOP OF THREAD FULL DISCUSSION
re: How do you, 🔥Trisha, edit your bash profile? I edit ~/.baschrc then source .bashrc but im curious if there is a better or easier way.
 

Hi Edwrd T! After creating my .bash_profile, I usually just use vim to update it (vim .bash_profile). I think vim is the quickest way to edit single files. But here are other ways to edit the file in a mac os:

  1. Open a terminal shell
  2. Change directory to your home folder. cd ~/
  3. Enter the command touch .bash_profile to create a new file.
  4. Edit .bash_profile on your IDE (open .bash_profile) or enter open -e .bash_profile to open it in TextEdit.
code of conduct - report abuse