Updated Installing ZSH (markdown)
parent
e05319394c
commit
755a248f71
@ -2,23 +2,24 @@
|
|||||||
|
|
||||||
Oh-My-Zsh is a framework for [Zsh](http://www.zsh.org), the Z shell.
|
Oh-My-Zsh is a framework for [Zsh](http://www.zsh.org), the Z shell.
|
||||||
|
|
||||||
- In order for Oh-My-Zsh to work, Zsh must be installed (v4.3.9 or more recent).
|
- In order for Oh-My-Zsh to work, Zsh must be installed.
|
||||||
- Please run `zsh --version` to confirm.
|
- Please run `zsh --version` to confirm.
|
||||||
|
- Expected result: `zsh 5.0.5` or more recent
|
||||||
- Additionally, Zsh should be set as your default shell.
|
- Additionally, Zsh should be set as your default shell.
|
||||||
- Please run `echo $SHELL` from a new terminal to confirm.
|
- Please run `echo $SHELL` from a new terminal to confirm.
|
||||||
- Expected result: `/bin/zsh`
|
- Expected result: `/bin/zsh`
|
||||||
|
|
||||||
## Installing Zsh
|
## Installing Zsh
|
||||||
|
|
||||||
If you need to, follow the following step to make it work:
|
If necessary, follow these steps to install Zsh:
|
||||||
|
|
||||||
1. Install Zsh
|
1. There are two main ways to install Zsh
|
||||||
- with your package manager of choice (_e.g._ `sudo apt-get install zsh`)
|
- with the package manager of your choice (_e.g._ `sudo apt-get install zsh`) or
|
||||||
- from [source](http://zsh.sourceforge.net/Arc/source.html), following
|
- from [source](http://zsh.sourceforge.net/Arc/source.html), following
|
||||||
[instructions from the Zsh FAQ](http://zsh.sourceforge.net/FAQ/zshfaq01.html#l7)
|
[instructions from the Zsh FAQ](http://zsh.sourceforge.net/FAQ/zshfaq01.html#l7)
|
||||||
2. Make sure it installed by running `zsh --version`
|
2. Verify installation by running `zsh --version`. Expected result: `zsh 5.0.5` or more recent.
|
||||||
3. Make it your default shell: `chsh -s $(which zsh)`
|
3. Make it your default shell: `chsh -s $(which zsh)`
|
||||||
- Note that this will not work if Zsh is not in your authorized shells list (`/etc/shells`)
|
- Note that this will not work if Zsh is not in your authorized shells list (`/etc/shells`)
|
||||||
or if you don't have permission to use `chsh`. If that's the case [you'll need to use a different procedure](https://www.google.com/search?q=zsh+default+without+chsh).
|
or if you don't have permission to use `chsh`. If that's the case [you'll need to use a different procedure](https://www.google.com/search?q=zsh+default+without+chsh).
|
||||||
4. Log out and login back again to use your new default shell, and test that it worked with `echo $SHELL`.
|
4. Log out and login back again to use your new default shell.
|
||||||
5. Expected result: `/bin/zsh`
|
5. Test that it worked with `echo $SHELL`. Expected result: `/bin/zsh`
|
||||||
|
Loading…
Reference in New Issue
Block a user