Skip to content

Instantly share code, notes, and snippets.

@r17x
Forked from tsabat/zsh.md
Created February 21, 2018 01:05
Show Gist options
  • Save r17x/d7f68297b805ccfc7d89796732fad7b8 to your computer and use it in GitHub Desktop.
Save r17x/d7f68297b805ccfc7d89796732fad7b8 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

@r17x
Copy link
Author

r17x commented Feb 21, 2018

# compinit issue
$ compaudit | xargs chown -R "$(whoami)"
$ compaudit | xargs chmod go-w

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