0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

feat: add instructions for fedora lchsh (#21)

Heus-Sueh 2023-02-22 20:31:39 -03:00 committed by GitHub
parent 7f99117c7c
commit 9c02066741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

@ -23,10 +23,11 @@ If necessary, follow these steps to install Zsh:
2. Verify installation by running `zsh --version`. Expected result: `zsh 5.0.8` or more recent. 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)` 3. Make it your default shell: `chsh -s $(which zsh)` or use `sudo lchsh $USER` if you are on Fedora.
- 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).
- If you use `lchsh` 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. 4. Log out and log back in again to use your new default shell.