zsh --version
on your terminal. If not found, install it using your package manager.sudo dnf install zsh
brew install zsh zsh-completions
sudo yum update && sudo yum -y install zsh
sudo apt install zsh
chsh -s $(which zsh)
.$SHELL
. Expected result: /bin/zsh
or similar.$SHELL --version
. Expected result: zsh 5.6.2
or similarq
as we will configure it later on.git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
to installgit clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
to install~/.zshrc
file with some settings. Here is my full .zshrc
file. Your mileage may vary.git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
to install the theme.~/.zshrc
file.~/.zshrc
~/.zshrc
[oh-my-zsh] Insecure completion-dependent directories detected
, set ZSH_DISABLE_COMPFIX=true
right before the line source $ZSH/oh-my-zsh.sh
in your ~/.zshrc
file and restart your session or run exec zsh
fc-cache -f -v
to refresh font cache.{}
icon to open JSON mode and set the belowlinux
with osx
if you are on a Mac.