- 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.
Last active
September 21, 2024 04:56
-
-
Save anthonyray/08f805138c2b37c2554b777ea96513f2 to your computer and use it in GitHub Desktop.
Setting up OhMyZsh on a rapsberry Pi
I've reinstalled my system and it worked
You can also do step 3 as:
#chsh -i /bin/zsh
Logout of the session and then log back in it should have changed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@InfiniteCoder01 What version of
git
is it using? It looks like agit
error.Try updating it.
https://raspberrypi.stackexchange.com/questions/107533/my-apt-is-broken-illegal-instruction