Consistency in design and formatting update.
parent
206693c60a
commit
1b39104f35
18
FAQ.md
18
FAQ.md
@ -5,29 +5,31 @@ _Work in progress..._
|
|||||||
- [ ] Put instructions on how to migrate from `.bash_profile` / `.bashrc` configurations (see [#3807](https://github.com/robbyrussell/oh-my-zsh/issues/3807)).
|
- [ ] Put instructions on how to migrate from `.bash_profile` / `.bashrc` configurations (see [#3807](https://github.com/robbyrussell/oh-my-zsh/issues/3807)).
|
||||||
- [ ] Fill this up.
|
- [ ] Fill this up.
|
||||||
|
|
||||||
***
|
---
|
||||||
|
|
||||||
- [How do I install OMZ and Zsh?](#how-do-i-install-omz-and-zsh)
|
- [How do I install OMZ and Zsh?](#how-do-i-install-omz-and-zsh)
|
||||||
- [How do I uninstall OMZ and Zsh?](#how-do-i-uninstall-omz-and-zsh)
|
- [How do I uninstall OMZ and Zsh?](#how-do-i-uninstall-omz-and-zsh)
|
||||||
|
|
||||||
#### How do I install OMZ and Zsh?
|
## How do I install OMZ and Zsh?
|
||||||
|
|
||||||
Please see [[Installing Zsh]] for instructions to install Zsh.
|
Please see [[Installing Zsh]] for instructions to install Zsh.
|
||||||
|
|
||||||
Please see instructions in the [README](https://github.com/robbyrussell/oh-my-zsh#getting-started) to install OMZ. Please see [[Contribution Technical Practices]] for instructions to set up a fork for contributing.
|
Please see [[Contribution Technical Practices]] for instructions to set up a fork for contributing.
|
||||||
|
|
||||||
To manually install OMZ in a custom directory, run
|
To manually install OMZ in a custom directory, run
|
||||||
```zsh
|
|
||||||
|
```shell
|
||||||
git clone git@github.com:robbyrussell/oh-my-zsh.git /my/custom/directory
|
git clone git@github.com:robbyrussell/oh-my-zsh.git /my/custom/directory
|
||||||
```
|
```
|
||||||
|
|
||||||
You will need to add `export ZSH=/my/custom/directory` and `source $ZSH/oh-my-zsh.sh` to your `~/.zshrc`.
|
You will need to add `export ZSH=/my/custom/directory` and `source $ZSH/oh-my-zsh.sh` to your `~/.zshrc`.
|
||||||
|
|
||||||
#### 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, so your `~/.zshrc.pre-oh-my-zsh` is simply restored
|
- 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user