You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Installing-ZSH.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,17 +23,18 @@ If necessary, follow these steps to install Zsh:
23
23
24
24
2. Verify installation by running `zsh --version`. Expected result: `zsh 5.0.8` or more recent.
25
25
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.
27
28
28
29
- Note that this will not work if Zsh is not in your authorized shells list (`/etc/shells`)
29
30
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.
31
32
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.
33
34
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.
35
36
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
0 commit comments