Run: cd ~
to go home quickly from any directory.
Make sure you are in your home directory.
Run atom .bash_profile
to begin editing the .bash_profile file.
Copy and Paste this: [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
into the top of the file.