ohmyzsh: Please help! Cannot uninstall zsh.
I installed zsh on my mac but I want to get back to bash. None of the usual commands work on it, sudo, ls, cd, nothing. When i try to uninstall zsh with the uninstall_oh_my_zsh I get the following message:
Removing ~/.oh-my-zsh
/Users/Matheus/.oh-my-zsh/tools/uninstall.sh: line 4: rm: command not found
Looking for original zsh config…
Switching back to bash
/Users/Matheus/.oh-my-zsh/tools/uninstall.sh: line 24: chsh: command not found
Thanks for trying out Oh My Zsh. It’s been uninstalled.
But it doesnt unisntall, when I restart Terminal theres zsh. I tried to run the command by its complete path, with the command:
Users/Matheus/.oh-my-zsh/tools/uninstall.sh
But I get a “zsh: permission denied”. I also cant run it with sudo, because sudo doesnt work.
Please guys help me restore my old and good bash.
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Reactions: 2
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Explain how to uninstall more fully Based on solution that saved me: https://github.com/robbyrussell/oh-my-zsh/issues/1675 — committed to sshadmand/oh-my-zsh by deleted user 8 years ago
Hi uninstall_oh_my_zsh uninstall the ohmyzsh project from your disk. to switch back to bash you have to execute
for some reason this command was not found
can you try
Go into terminal Click on help It explains everything
can you try
This command also doesn`t work: zsh: command not found: chsh
That’s what he said, that it doesn’t work. I’d bet that Apple forbids that because the system uses it, even if you don’t. Personally I don’t see why you’d want to remove it, as long as you’ve set it up so that you use bash by default it shouldn’t be a problem.
I am unable to uninstall Zsh. I don’t mean “switch from zsh to bash”. I mean get rid of it so that it no longer exists on my computer. Is there any way to do that?
System: macOS Sierra 10.12.6 Version: zsh 5.2 (x86_64-apple-darwin16.0)
Steps I tried:
It works! Thank you!