Skip to content

Instantly share code, notes, and snippets.

@BiggerNoise
Created April 8, 2015 16:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BiggerNoise/c2e06b6645a10ecc1eef to your computer and use it in GitHub Desktop.
Save BiggerNoise/c2e06b6645a10ecc1eef to your computer and use it in GitHub Desktop.
Some useful shell commands and aliases when working with godep
# simple commands to alter the GOPATH for longer than a single command
alias guse='GOPATH=$(godep path):$HOME/dev/go'
alias greset='GOPATH=$HOME/dev/go'
#!/usr/bin/env bash
# use this to execute a single command with the GOPATH reflecting the godep store
GOPATH=$(godep path):$GOPATH; "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment