- Connect to your raspberry Pi with SSH
- Install zsh :
sudo apt-get update && sudo apt-get install zsh
- Edit your passwd configuration file to tell which shell to use for user
pi
:sudo vim /etc/passwd
and change/bin/bash
and/bin/zsh
- Reconnect to your raspberry, and check that zsh is the shell with
echo $0
. - Switch to root :
sudo su
- Install OhMyZsh :
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Disconnect from your instance and reconnect it.