Home Zsh Shell
Post
Cancel

Zsh Shell

Why Zsh?

  • automatic cd (change directory) when you type a directory name
  • suggestions based on previous commands
  • spelling correction approximate completion
  • various plugins and themes

Installation

1
2
3
4
5
6
7
8
brew install zsh zsh-autosuggestions zsh-syntax-highlighting neofetch
echo "plugins=(zsh-autosuggestions)" >> ~/.zshrc
sudo git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
echo 'ZSH_THEME="powerlevel10k/powerlevel10k"' >> ~/.zshrc
curl -L http://install.ohmyz.sh | sh
echo "neofetch" >> ~/.zshrc
chsh -s $(which zsh)
source ~/.zshrc

Configuration

If you want to access the configuration file from the terminal, you can use the following command:

1
nano ~/.zshrc
This post is licensed under CC BY 4.0 by the author.