mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Set GOBIN to detected GOPATH
This commit is contained in:
parent
4d250a6169
commit
2a31999852
1 changed files with 2 additions and 0 deletions
2
shell/go
2
shell/go
|
|
@ -45,10 +45,12 @@ _strip-go-path() {
|
|||
|
||||
_set-gopath() {
|
||||
export GOPATH="$*"
|
||||
export GOBIN="$GOPATH/bin"
|
||||
}
|
||||
|
||||
_unset-gopath() {
|
||||
unset GOPATH
|
||||
unset GOBIN
|
||||
}
|
||||
|
||||
_gopath() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue