please help me, whenever I write some command like ls
or ls -l
it gives me zsh: killed ls
or zsh: killed ls -l
.
i even tried to uninstall homebrew using homebrew docs but unable todo so due to zsh killed.
below is the screenshot please have a look
P.S: I am using mac m1.
ls
)? If it's just some, there's probably something weird with those programs, maybe a security/code signing problem. For example, it may be trying to use the homebrew version, but if that's damaged it'll fail.