I wanted to locate my zsh in my /usr/local/bin directory on my mac using the command:
ll | grep zsh
But I accidently type
ll | zsh
and now when I try to run command lit
git status
or
pip --version
it either tells me the exec format error or simply does nothing. Even brew update
does not do nothing, not even printing an error message.
I tried restarting my mac and my shell. I checked the the PATH variable is good. What can I do?
New contributor
MiddleEasternPrince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.