Skip to content

Instantly share code, notes, and snippets.

@tsabat
Last active October 16, 2024 14:43
Show Gist options
  • Save tsabat/1498393 to your computer and use it in GitHub Desktop.
Save tsabat/1498393 to your computer and use it in GitHub Desktop.
Getting oh-my-zsh to work in Ubuntu

Prereq:

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 https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -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

@gitpetrova
Copy link

thanks a lot!

@javiros
Copy link

javiros commented Aug 19, 2018

Fantastic! Thank you!!

@rishabhdeepsingh
Copy link

Thanks a LOT Bro

Copy link

ghost commented Sep 13, 2018

cheers!

Copy link

ghost commented Sep 26, 2018

Thank you

@Mr-Quinn
Copy link

Thank you... zsh &&.oh-my-zsh is the first apt I install on any new system!

@themoralpanda
Copy link

Thanks for the share :)

@franciscodara
Copy link

Guys, how uninstall this tutor? Help me please!

@sinscary
Copy link

Awesome man

@mrroot5
Copy link

mrroot5 commented Apr 16, 2019

@ilhamdoanggg
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

@elduglas
Copy link

👍 Thanks so much!!!

@DNXie
Copy link

DNXie commented Aug 1, 2021

Thanks so much! It worked!

@TristanK27
Copy link

Thank you, you're the man

@JhouplayBR
Copy link

thanks dude, still working

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