1 - Install zsh and oh-my-zsh
1 - First you’ve to install the shell zsh.
I’m a fedora user, so I’m gonna use DNF but if you’re Ubuntu user try APT instead of DNF:
1
sudo dnf install zsh
2 - Install oh-my-zsh:
1
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
3 - Set zsh as your default shell:
1
chsh -s /usr/bin/zsh
2 - Nerd Fonts (optional)
Feel free to choose your nerd font: Nerd Fonts download
I’m gonna use Hack Nerd Font.
3 - PowerLevel10k (optional)
PowerLevel10k is a theme to oh my zsh.
1 - Download it:
1
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
2 - Set ZSH_THEME="powerlevel10k/powerlevel10k"
in ~/.zshrc
.
1
ZSH_THEME="powerlevel10k/powerlevel10k"
4 - zsh-syntax-highlighting (optional)
zsh-syntax-highlighting is a syntax highlighter for shell commands.
1 - Download it:
1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
2 - Set in your ~/.zshrc
:
1
2
3
4
plugins=(
git
zsh-syntax-highlighting
)
5 - zsh-autosuggestions (optional)
zsh-autosuggestions is a autocomplete tool for your shell.
1 - Download it:
1
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
2 - Set in your ~/.zshrc
:
1
2
3
4
5
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
Documentation and Utilities
Oh-My-Zsh offical documentation
PowerLevel10k offical documentation