Skip to content

Instantly share code, notes, and snippets.

Last active August 8, 2023 22:36
Star You must be signed in to star a gist
What would you like to do?
Getting oh-my-zsh to work in Ubuntu


apt-get install zsh
apt-get install git-core

Getting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh

wget -O - | zsh

and then you change your shell to zsh

chsh -s `which zsh`

and then restart

sudo shutdown -r 0

This problem is explained in depth in this issue

Copy link

some problem after a week not shutdown my pc
and than i restart it back to bash normal, i use ubuntu 18-04 anyway
and here sudo shutdown -r 0 very nice solving

Copy link

👍 Thanks so much!!!

Copy link

DNXie commented Aug 1, 2021

Thanks so much! It worked!

Copy link

Thank you, you're the man

Copy link

thanks dude, still working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment