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

View File

@@ -1 +1,2 @@
export JAVA_HOME=$(/usr/libexec/java_home -v 18)
#export JAVA_HOME=$(/usr/libexec/java_home -v 18)
export JAVA_HOME="$SDKMAN_CANDIDATES_DIR/java/current"

View File

@@ -1,7 +1,3 @@
#!/usr/bin/env bash
if [[ "$HOST" == 'nymph.localhost' ]]; then
export LIQUIBASE_HOME="/usr/local/opt/liquibase/libexec"
elif [[ "$HOST" == 'ikaros.fritz.box' ]]; then
export LIQUIBASE_HOME="/opt/homebrew/Cellar/liquibase/4.12.0/libexec"
fi
export LIQUIBASE_HOME="/opt/homebrew/Cellar/liquibase/4.12.0/libexec"

View File

@@ -1,9 +1,4 @@
#!/usr/bin/env bash
if [[ "$HOST" == 'nymph.localhost' ]]; then
export ZSH_HIGHLIGHT_DIR=/usr/local/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting/highlighters
elif [[ "$HOST" == 'ikaros.fritz.box' ]]; then
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
fi
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters