Here I put the final solution. I tried many methods on my mac M1, the best method is re-install homebrew.
Step1:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
Step2: Install homebrew
cd /opt
mkdir homebrew # if not exist, just create one.
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
Then, the problem solved.
Answer from Frank on Stack Overflowprocess killed - kali
Why does zsh kills my process every time I enter a git command - Stack Overflow
Terminal zsh:killed - Apple Community
zsh: killed
Folks I need your help.... in doing my revisions for OSCP exam #2 I thought it would be a good idea to update everything and that included the shell (new stuff must be good right...?)
I really want to love zsh but I can’t. I hate it. I hate it so badly. It suggest which directory I want to go to but tab completion doesn’t complete the command; it suggest that I want to run nmap with specific switches but again hitting tab doesn’t complete the command.
It. Is. So. Damn. Aggravating!!!
Given the whole ethos of “try harder” I’ve googled, I’ve edited conf files, I’ve restarted shells and now I’m just giving up. Bash for ever!!
...
Anyway, sorry for the rant, does anyone know how to actually configure zsh to stop it displaying suggestions for auto completion?
Here I put the final solution. I tried many methods on my mac M1, the best method is re-install homebrew.
Step1:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
Step2: Install homebrew
cd /opt
mkdir homebrew # if not exist, just create one.
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
Then, the problem solved.
I used the below commands:
brew uninstall git
brew update
brew reinstall pcre2 gettext
brew install git
Git worked after.
I have downloaded a game and and everytime i open, it says “The application cant be opened”. And when i try to run the executable file of the app i got this.
While Trying to run the app from terminal, i get zsh permission denied.
Thanks in advance.
I was on kali just trying to add some themes but I messed up my basic kali zsh theme help me to revert back.