Skip to content

Instantly share code, notes, and snippets.

@lamoboos223
Forked from anthonyray/readme.md
Created October 12, 2022 13:42
Show Gist options
  • Save lamoboos223/aeec11c946e73f5c5415695a250e2a4e to your computer and use it in GitHub Desktop.
Save lamoboos223/aeec11c946e73f5c5415695a250e2a4e to your computer and use it in GitHub Desktop.
Setting up OhMyZsh on a rapsberry Pi
  1. Connect to your raspberry Pi with SSH
  2. Install zsh : sudo apt-get update && sudo apt-get install zsh
  3. 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
  4. Reconnect to your raspberry, and check that zsh is the shell with echo $0.
  5. Switch to root : sudo su
  6. Install OhMyZsh : sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  7. Disconnect from your instance and reconnect it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment