Skip to content

Instantly share code, notes, and snippets.

@ceesco53
Forked from lgalaz/install oh my zsh in homestead
Last active December 12, 2019 01:27
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ceesco53/e2d2556a44842aa271f0 to your computer and use it in GitHub Desktop.
Save ceesco53/e2d2556a44842aa271f0 to your computer and use it in GitHub Desktop.
sudo apt-get install zsh -y
git clone git://github.com/robbyrussell/oh-my-zsh.git /home/vagrant/.oh-my-zsh
cp /home/vagrant/.oh-my-zsh/templates/zshrc.zsh-template /home/vagrant/.zshrc
sudo chsh -s /usr/bin/zsh vagrant
sed -i 's/robbyrussell/agnoster/g' /home/vagrant/.zshrc
@doncadavona
Copy link

doncadavona commented Jun 8, 2017

Works like a charm!

@Artistan
Copy link

zsh is intalled in homestead now.
just add to your after.sh

sudo chsh -s /usr/bin/zsh vagrant
sed -i 's/robbyrussell/agnoster/g' /home/vagrant/.zshrc

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