Fix gestione hostname

This commit is contained in:
Fabio Scotto di Santolo
2022-09-10 12:49:22 +02:00
parent 19a0c575c1
commit 4849b54eab
8 changed files with 22 additions and 39 deletions

View File

@@ -1,9 +1,4 @@
#!/usr/bin/env bash
if [[ "$HOST" == 'nymph.localhost' ]]; then
export GOPATH=$HOME/Go
elif [[ "$HOST" == 'ikaros.fritz.box' ]]; then
export GOPATH=$HOME/Library/Go
fi
export GOPATH=$HOME/Library/Go
export GOBIN=$GOPATH/bin