There are questions like this already. My problem is my command line is only reading the first word of every command. I know I did something to mess it up but I don't know what or how to reverse it. I'm very new, I'm using a MacBook Air intel and zsh.
I tried mv ~/.bash_profile ~/.bash_profile_backup
. The output is zsh: command not found: mv
.
I think the terminal is only reading the first word. Also when I go to preferences and look for the terminal file to delete it, I don't see it. I have been stuck for days and can't even begin to code until this is fixed.
To reset your Zsh config to "factory defaults":
.z
to another folder.The output is
zsh: command not found: mv
.
This means you've removed /bin
from your $path
. To fix this:
.z*
files (which you moved to another folder, above) to find where you made this mistake..z*
files back into your home folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.