Skip to content

Instantly share code, notes, and snippets.

@lgalaz
Created August 14, 2015 02:52
Show Gist options
  • Save lgalaz/98688ce89767cc99bb7b to your computer and use it in GitHub Desktop.
Save lgalaz/98688ce89767cc99bb7b 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/afowler/g' /home/vagrant/.zshrc
@lgalaz
Copy link
Author

lgalaz commented Sep 30, 2015

add:

echo 'alias mro="php artisan migrate:rollback"' >> /home/vagrant/.zshrc
echo 'alias mig="php artisan migrate"' >> /home/vagrant/.zshrc
echo 'alias dbs="php artisan db:seed"' >> /home/vagrant/.zshrc
echo 'alias openmysql="mysql -u homesetad -psecret"' >> /home/vagrant/.zshrc

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