Fix Profile configurations

This commit is contained in:
Fabio Scotto di Santolo
2024-12-28 13:51:29 +01:00
parent 3a93f11774
commit e477042df2
9 changed files with 53 additions and 28 deletions

View File

@@ -1,4 +1,12 @@
#!/usr/bin/env bash
export GOPATH=$HOME/Library/Go
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

View File

@@ -1 +1,3 @@
export GRAALVM_HOME="${SDKMAN_CANDIDATES_DIR}/java/21.0.1-graal"
#!/usr/bin/env bash
export GRAALVM_HOME="${HOME}/.local/share/mise/installs/java/graalvm-community-23.0.1"

View File

@@ -1 +1,5 @@
export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help
#!/usr/bin/env bash
if [[ $SHELL == "zsh" ]]; then
export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help
fi

View File

@@ -1,2 +1,3 @@
#export JAVA_HOME=$(/usr/libexec/java_home -v 18)
export JAVA_HOME="$SDKMAN_CANDIDATES_DIR/java/current"
#!/usr/bin/env bash
export JAVA_HOME="${HOME}/.local/share/mise/installs/java/23.0.1"

View File

@@ -1,2 +1,4 @@
export JMETER_HOME=`which jmeter`
#!/usr/bin/env bash
JMETER_HOME="$(which jmeter)"
export JMETER_HOME

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
export LIQUIBASE_HOME="/opt/homebrew/Cellar/liquibase/4.12.0/libexec"

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
if [ "$(uname -o)" == "Darwin" ]; then
export ZSH_HIGHLIGHT_DIR=/opt/homebrew/share/zsh-syntax-highlighting
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
fi