ArchLinux - Install Zsh shell and oh-my-zsh

Install Zsh#

  • Before installing zsh, see what shell is currently being used:
$ echo $SHELL
# pacman -S zsh
  • For additional completion definitions, install the zsh-completions package:
# pacman -S zsh-completions
  • Make sure that zsh has been installed correctly and configure it:
$ zsh
  • Set zsh as default shell (list shells with $ chsh -l):
$ chsh -s /bin/zsh

Install Oh My Zsh#

  • Install dependencies:
# pacman -S curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Share