Skip to content

Instantly share code, notes, and snippets.

@h2rd
Created June 5, 2018 18:59
Show Gist options
  • Save h2rd/1b9cd46142f8e6efe127d845d1bb2078 to your computer and use it in GitHub Desktop.
Save h2rd/1b9cd46142f8e6efe127d845d1bb2078 to your computer and use it in GitHub Desktop.
v () {
command="cd /vagrant; $@"
vagrant ssh -c $command
}
vb () {
command="cd /vagrant; bundle exec $@"
vagrant ssh -c $command
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment