Skip to content

Commit 284d1a3

Browse files
Update Fedora instructions (#62)
1 parent 0a078d0 commit 284d1a3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Installing-ZSH.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,18 @@ If necessary, follow these steps to install Zsh:
2323

2424
2. Verify installation by running `zsh --version`. Expected result: `zsh 5.0.8` or more recent.
2525

26-
3. Make it your default shell: `chsh -s $(which zsh)` or use `sudo lchsh $USER` if you are on Fedora.
26+
3. Make it your default shell: `chsh -s $(which zsh)`.
27+
If you are on Fedora, use `sudo chsh $USER` for recent versions or `sudo lchsh $USER` for older versions.
2728

2829
- Note that this will not work if Zsh is not in your authorized shells list (`/etc/shells`)
2930
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).
30-
- If you use `lchsh` you need to type `/bin/zsh` to make it your default shell.
31+
- If you run just `chsh` you need to type `/bin/zsh` to make it your default shell.
3132

32-
4. Log out and log back in again to use your new default shell.
33+
5. Log out and log back in again to use your new default shell.
3334

34-
5. Test that it worked with `echo $SHELL`. Expected result: `/bin/zsh` or similar.
35+
6. Test that it worked with `echo $SHELL`. Expected result: `/bin/zsh` or similar.
3536

36-
6. Test with `$SHELL --version`. Expected result: 'zsh 5.8' or similar
37+
7. Test with `$SHELL --version`. Expected result: 'zsh 5.8' or similar
3738

3839
## How to install zsh on many platforms
3940

0 commit comments

Comments
 (0)