uninstall oh my zsh #11602
-
I personally hate this tool. I tried everything possible under the google search to uninstall this. Nothing works. I keep getting this command - zsh: command not found: for everything. Even to open vi or touch ./zschrc to update plugins. I have run uninstall_oh_my_zsh it says uninstall_oh_my_zsh:1: command not found: env I have tried source ~/.oh-my-zsh/tools/uninstall.sh. It auto breaks at Line 13 It doesnt even give me the option to type Yes or No and auto cancels uninstallation process. This is affecting all my other terminal in my M1 Mac and my work. I cant run any command on my terminal. Can you please help me uninstall this off my system. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Removing the line |
Beta Was this translation helpful? Give feedback.
-
You can remove ~/.oh-my-zsh directory. |
Beta Was this translation helpful? Give feedback.
-
Wouldn't it be more important to restore the original .zshrc file that OMZ made a backup copy of before replacing? And wouldn't it be that file which likely has the missing PATH settings which is now causing all the issues? |
Beta Was this translation helpful? Give feedback.
-
Yes, You can remove ~/.oh-my-zsh directory. |
Beta Was this translation helpful? Give feedback.
-
I just submitted a PR (#11709) which may also have helped with this: It uses the full |
Beta Was this translation helpful? Give feedback.
-
You can run the following command: You will be asked the following: |
Beta Was this translation helpful? Give feedback.
Removing the line
source oh-my-zsh.sh
from yourzshrc
should do the trick. You can also remove ~/.oh-my-zsh directory.