While trying to reinstall hugo from tarball, I got to the to the part in the instructions that says,
If hugo is not in your PATH, add it by updating your ~/.bash_profile file.
It wasn’t, so I typed
nano ~/.bash_profile, added the line, but must have done something wrong. Now, when I open
.bash_profile on Nano or TextEdit, I see it there:
- It didn’t work (hugo is still not installed);
- When I open the Terminal, I get a message that says
-bash: export: `PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/claudia/bin’: not a valid identifier
Does anybody know how I can undo what I did and start over?