Update Fedora instructions (#62)

Brandan 2024-12-18 10:41:31 -07:00 committed by GitHub
parent 0a078d034e
commit 284d1a34e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 5 deletions

@ -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