I have tried to add TextWrangler to the path environment modifying the file
.bash_profile. This is what I have added:
# Just a comment PATH=/Applications/TextWrangler.app/Contents/MacOS export PATH
I am not sure if it was exactly like this, but I am sure it was not so different. I must admit I do not know exactly what I was doing with the commands above, but by suggestions of other people and content on the web, I decided to add it to the .bash_profile file.
Now, when I type for example
nano it does not work. I have seen on the web that this has already happened to other people.
I am not able to open the .bash_profile file with TextWrangler to restore it as it was, so this is a big problem, I might say.