Created
December 16, 2015 07:40
-
-
Save ergoithz/cf5771f0f11b12761def to your computer and use it in GitHub Desktop.
Generic script to start vagrant on current directory on a terminal (great for running at startup)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
DIR=$( dirname "${BASH_SOURCE[0]}" ) | |
cd $DIR | |
vagrant up | |
gnome-terminal -e "bash -c 'vagrant ssh';bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment