Create .gopath file for $PATH detection

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-04-13 22:45:57 +02:00
parent 7bb350a996
commit 143327d660
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -7,6 +7,9 @@ export GOPATH="${HOME}/gocode"
rm -rf ${GOPATH}
mkdir -p ${GOPATH}
# Create `.gopath` file for $PATH detection
touch ${GOPATH}/.gopath
# Re-Install gocode
go get -u github.com/nsf/gocode