add details

Nicolas Canceill 2015-05-11 10:36:49 +02:00
parent 13c57f180a
commit e768752c9b

4
FAQ.md

@ -25,9 +25,9 @@ You will need to add `export ZSH=/my/custom/directory` and `source $ZSH/oh-my-zs
#### How do I uninstall OMZ and Zsh? #### How do I uninstall OMZ and Zsh?
Run `$ZSH/tools/uninstall.sh` to remove OMZ. This will backup your `~/.zshrc` and remove your OMZ install entirely. Then: Run `$ZSH/tools/uninstall.sh` to remove OMZ. This will backup your `~/.zshrc` and remove your OMZ install entirely. Then:
* if you have `~/.zshrc.pre-oh-my-zsh`, it is assumed that you had Zsh in use prior to installing OMZ * if you have `~/.zshrc.pre-oh-my-zsh`, it is assumed that you had Zsh in use prior to installing OMZ, so your `~/.zshrc.pre-oh-my-zsh` is simply restored
* otherwise it is assumed that you were using Bash, so the default shell will be set to `/bin/bash` and `/etc/profile` will be sourced * otherwise it is assumed that you were using Bash, so the default shell will be set to `/bin/bash` and `/etc/profile` will be sourced
Then simply reopen your shells. You must have OMZ installed in the default directory (_ie_ `~/.oh-my-zsh`) for this to work. Then simply reopen your shells. You must have OMZ installed in the default directory (_ie_ `~/.oh-my-zsh`) for this to work.
Alternatively, to manually remove OMZ do `rm -rf $ZSH` — you will also have to edit your `~/.zshrc`. To manually set a new default shell, do `chsh -s /my/new/shell`, _eg_ `chsh -s /bin/bash`. Then simply reopen your shells. Alternatively, to manually remove OMZ do `rm -rf $ZSH` — you will also have to edit your `~/.zshrc`. To manually set a new default shell, do `chsh -s /my/new/shell`, _eg_ `chsh -s /bin/bash`. Then simply reopen your shells.