aboutsummaryrefslogtreecommitdiff
path: root/.path
blob: b2e4d7d1150741032fc220f0a37495cc5a8fa26a (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

[ -d $HOME/bin ] && export PATH=$PATH:$HOME/bin

if command -v go &> /dev/null
then
    export GOPATH=$(go env GOPATH)
    export PATH=$PATH:$(go env GOPATH)/bin
fi