Skip to content

Instantly share code, notes, and snippets.

@jyc
Created May 13, 2012 00:15
Show Gist options
  • Select an option

  • Save jyc/2669813 to your computer and use it in GitHub Desktop.

Select an option

Save jyc/2669813 to your computer and use it in GitHub Desktop.
SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
fi
export PATH="$HOME/go/bin:$PATH"
export GOROOT="$HOME/go"
export GOOS="linux"
export GOARCH="amd64"
export PATH="$GOROOT/bin:$PATH"
export GOPATH="$HOME/gocode"
alias ls="ls --color=auto"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment