Initial commit
This commit is contained in:
12
zsh/.profile.d/go.sh
Executable file
12
zsh/.profile.d/go.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
case $(uname -s) in
|
||||
"Linux")
|
||||
export GOPATH="$HOME/.local/share/Go";;
|
||||
"Darwin")
|
||||
export GOPATH="$HOME/Library/Go";;
|
||||
*)
|
||||
echo "Operating System unknown";;
|
||||
esac
|
||||
|
||||
export GOBIN=$GOPATH/bin
|
||||
Reference in New Issue
Block a user