Last active
October 23, 2020 18:12
-
-
Save KarolinaCzo/cf9744d4915a1d2ef09d14e3068a84f9 to your computer and use it in GitHub Desktop.
Add zsh shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
More info here: | |
https://github.com/robbyrussell/oh-my-zsh | |
1) Install zsh: | |
sudo dnf install zsh | |
2) Install zsh as the main shell (from Basic Installation) | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
3) To make sure it's installed correctly and added as the main shell check /etc/passwd file: | |
cat /etc/passwd | |
3a) If it's not there - set it as your default shell: | |
chsh -s $(which zsh) | |
more here: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH | |
cat - to display information form the file in the console | |
In the displayed info, right at the end, text to the user name (in my case next to 'karolina') should be usr/bin/zsh. | |
4) Change the theme: | |
- display the file in the shell by typing: nano ~/.zshrc | |
- change the theme ZSH_THEME="ys" | |
- save by clicking ^O (^ = Crtl) | |
- click Enter | |
- to change the shell without closing the terminal type: exec zsh | |
DONE! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment