This commit is contained in:
lachtan
2024-03-19 06:09:48 +01:00
parent e6db9f7123
commit 2256cd3107
7 changed files with 34 additions and 31 deletions

2
rc/dotnet.sh Normal file
View File

@@ -0,0 +1,2 @@
export DOTNET_CLI_TELEMETRY_OPTOUT=1

View File

@@ -1,6 +1,15 @@
# Use user defined Go version
# Use user defined Go version
# GOPATH and GOROOT must be already set in $HOME/.bashrc
_GO_BIN_DIR="$HOME/go/bin"
if [[ -d "$_GO_BIN_DIR"]]; then
prepend_path_try "$_GO_BIN_DIR"
if can_run go; then
export GOROOT=$(go env GOROOT)
fi
fi
if [[ ! -z "$GOPATH" ]]; then
prepend_path "$GOPATH/bin"
fi
@@ -8,4 +17,3 @@ fi
if [[ ! -z "$GOROOT" ]]; then
prepend_path "$GOROOT/bin"
fi