I was trying to customize my prompt in Terminal. To do this, I tried to edit .bash_profile
using vim, but ended up with a .bash_profile.swp
file. Following some posts I found online, I used the :recover
command in vim, which created a new .bash_profile
and then deleted the .swp file. However, now Terminal does not seem to work. When I open it, I get the below message:
-bash: c: command not found
-bash: end: command not found
[Process completed]
Does anybody know how to fix this?