Skip to content

Commit

Permalink
Add GOBIN in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
frankjuniorr committed Aug 3, 2024
1 parent 4ecc166 commit da99d54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public-dotfiles/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ fi

if [ -d "/usr/local/go/bin" ] ; then
export PATH="$PATH:/usr/local/go/bin"
GOPATH=$(go env | grep "GOPATH" | cut -d "=" -f2 | sed "s/'//g")
export PATH="$PATH:${GOPATH}/bin"
fi

0 comments on commit da99d54

Please # to comment.