Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing oh-my-zsh

Tags:

zsh

I'm getting an error while installing oh-my-zsh, doing this:

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

but at the end i'm getting:

/usr/bin/env: zsh: No such file or directory
sh: source: not found

what am i doing wrong ?

machine: Ubuntu 10.10

like image 512
Said Kaldybaev Avatar asked Oct 16 '25 16:10

Said Kaldybaev


1 Answers

For other people who might have problems using oh-my-zsh on ubuntu, here's the solution taken from this gist : https://gist.github.com/1498393

First install zsh :

apt-get install zsh

Then install oh-my-zsh using 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`

Make then sure you relaunch your terminal session, no need to reboot

like image 154
Anthony Alberto Avatar answered Oct 19 '25 14:10

Anthony Alberto