Skip to content

Instantly share code, notes, and snippets.

@craiglittle
Created May 9, 2014 00:32
Show Gist options
  • Save craiglittle/d7ac53b4706bedadace2 to your computer and use it in GitHub Desktop.
Save craiglittle/d7ac53b4706bedadace2 to your computer and use it in GitHub Desktop.
Helper script with vagrant-exec
# Execute a command in the synced subdirectory
#! /bin/sh
set -e
REPO=$(basename `pwd`)
vagrant exec "${@}" "code/${REPO}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment