Permalink
Browse files

Go dev helper fn

  • Loading branch information...
1 parent 73dd294 commit 8712c010627b2406f8e37a9863cc15fa5b1a7dd4 @cespare committed Jan 7, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 .zshrc
View
5 .zshrc
@@ -292,6 +292,11 @@ go() {
gdoc() {
command godoc "$@" | less -FX
}
+# Go development
+export DEV_GOROOT=$HOME/Projects/golang
+godev() {
+ GOROOT=$DEV_GOROOT $DEV_GOROOT/bin/go "$@"
+}
# Scala
export PATH=$PATH:$HOME/Apps/scala/current/bin

0 comments on commit 8712c01

Please sign in to comment.