Skip to content

Instantly share code, notes, and snippets.

@emmasteimann
Forked from tsabat/zsh.md
Created July 2, 2012 17:24
Show Gist options
  • Save emmasteimann/3034435 to your computer and use it in GitHub Desktop.
Save emmasteimann/3034435 to your computer and use it in GitHub Desktop.
Getting oh-my-zsh to work in Ubuntu

Install via apt-get

sudo apt-get update && sudo apt-get install zsh

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

wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh

and then you change your shell to zsh

chsh -s `which zsh`

and then restart

sudo shutdown -r 0

Make sure your rvm is loaded in your .zshrc

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm”

This problem is explained in depth in this issue

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