Skip to content

Commit

Permalink
Update Fedora instructions (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandanblevins authored Dec 18, 2024
1 parent 0a078d0 commit 284d1a3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Installing-ZSH.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ If necessary, follow these steps to install Zsh:

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

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

- 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).
- If you use `lchsh` you need to type `/bin/zsh` to make it your default shell.
- If you run just `chsh` you need to type `/bin/zsh` to make it your default shell.

4. Log out and log back in again to use your new default shell.
5. Log out and log back in again to use your new default shell.

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

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

## How to install zsh on many platforms

Expand Down

0 comments on commit 284d1a3

Please sign in to comment.