0

I was trying to make Sublime editor work from Terminal following this guide and by doing so I modified the .bash_profile file and apparently my PATH. While I was doing this I was positioned in some random folder in Terminal, it was /Users/apple/Desktop/RailsCode/readit/ and now if I want to run command open ~./bash_profile it says: The file /Users/apple/Desktop/RailsCode/readit/~./bash_profile does not exist. And it worked before, it seems to me I messed up my default PATH. How to resolve this?

Whizzil
  • 1,264
  • 6
  • 22
  • 39

1 Answers1

3

Your command is not quite right:

open ~./bash_profile
      ^

should be:

open ~/.bash_profile
       ^
fedorqui
  • 275,237
  • 103
  • 548
  • 598
Paul R
  • 208,748
  • 37
  • 389
  • 560