ArchLinux - Install Zsh shell and oh-my-zsh

Install Zsh

  • Before installing zsh, see what shell is currently being used:

1
$ echo $SHELL

1
# pacman -S zsh

  • For additional completion definitions, install the zsh-completions package:

1
# pacman -S zsh-completions

  • Make zsh has been installed correctly and configure it:

1
$ zsh

  • Set zsh as default shell (list shells with $ chsh -l):

1
$ chsh -s /bin/zsh

Install Oh My Zsh

  • Install dependencies:

1
# pacman -S curl git

1
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Share