I installed zsh instead of bash and quite like it. However today I was changing the php path and I messed it up. I know what I did wrong, and I would just edit the file and fix it but my mistake has stopped any commands working. I could access it through finder, but the file I messed up on begins with a . so I need to run a terminal command so it shows up.
Any ideas on what I could do?