Files
dotfiles/zsh/.profile.d/go.sh
Fabio Scotto di Santolo 122528e763 Merge profile and ZSH packages
2025-07-18 14:33:59 +02:00

13 lines
239 B
Bash
Executable File

#!/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