mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 05:39:52 +00:00
Configure Go workspace for Fedora Bash
This commit is contained in:
7
dotfiles/fedora/.bashrc.d/09-go-env.sh
Normal file
7
dotfiles/fedora/.bashrc.d/09-go-env.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
# Keep Go's workspace out of the home directory root.
|
||||
export GOPATH="$HOME/.local/share/Go"
|
||||
case ":$PATH:" in
|
||||
*":$GOPATH/bin:"*) ;;
|
||||
*) PATH="$GOPATH/bin:$PATH" ;;
|
||||
esac
|
||||
export PATH
|
||||
Reference in New Issue
Block a user