Updated Installing ZSH (markdown)

Subham Sarkar 2018-02-11 16:56:08 +05:30
parent 7c61eb630f
commit e203bc714f

@ -4,10 +4,10 @@ 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. - 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 4.3.9` or more recent - Expected result: `zsh 5.1.1` 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` or similar - Expected result: `usr/bin/zsh` or similar
## Install and set up zsh as default ## Install and set up zsh as default
@ -17,14 +17,15 @@ If necessary, follow these steps to install Zsh:
- with the package manager of your choice, _e.g._ `sudo apt-get install zsh` (see [below for more examples](#howto-install-zsh-in-many-platforms)) - with the package manager of your choice, _e.g._ `sudo apt-get install zsh` (see [below for more examples](#howto-install-zsh-in-many-platforms))
- 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. Verify installation by running `zsh --version`. Expected result: `zsh 4.3.9` or more recent. 2. Verify installation by running `zsh --version`. Expected result: `zsh 5.1.1` 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. 4. Log out and login back again to use your new default shell.
5. Test that it worked with `echo $SHELL`. Expected result: `/bin/zsh` or similar. 5. Test that it worked with `echo $SHELL`. Expected result: `/bin/zsh` or similar.
6. Test with '$SHELL --version'. Expected result: 'zsh 5.1.1' or similar
## HowTo install zsh in many platforms ## How to install zsh in many platforms
### macOS ### macOS