add support for Go

This commit is contained in:
Dmytro Meleshko 2018-11-28 21:00:09 +02:00
parent 3514fbb8cb
commit e740e1aa40
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ if is_macos; then
)
fi
# add Go binaries
export GOPATH="$HOME/.go"
path=("$GOPATH/bin" "${path[@]}")
# add user binaries
path=(~/bin ~/.local/bin "${path[@]}")