I’m going through the git tutorial form udacity and I’m trying to launch Sublime 3 from my mac terminal. I have created the directory called .bash_profile and added the line “export PATH=$PATH:/Applications/Sublime\ Text.app/Contents/SharedSupport/bin”. Afterwards I type in subl and it launches sublime from the terminal but when I close and open the terminal again it doesn’t remember the subl command. After entering subl, it just says subl command not found. Can anyone help me find out what’s wrong? Thanks!
I’m sure you meant you created a file instead of a directory, but I want to make sure you didn’t actually create a directory called .bash_profile. It should be a file, with no extension, and it should be in your home directory. If you’d like to start fresh, try copying and pasting these commands
Hi, I use macOS Sierra. Every command I type in returns not found. I know I have some how missed up with the bash profile. Is there a way I can fix this