Add profile package

This commit is contained in:
Fabio Scotto di Santolo
2024-07-09 14:11:42 +02:00
parent 10e8030e74
commit d7792b2186
8 changed files with 24 additions and 0 deletions

7
profile/.profile Normal file
View File

@@ -0,0 +1,7 @@
# Load profiles from /etc/profile.d
if test -d $HOME/.profile.d/; then
for profile in $HOME/.profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi

4
profile/.profile.d/go.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
export GOPATH=$HOME/Library/Go
export GOBIN=$GOPATH/bin

View File

@@ -0,0 +1 @@
export GRAALVM_HOME="${SDKMAN_CANDIDATES_DIR}/java/21.0.1-graal"

View File

@@ -0,0 +1 @@
export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help

View File

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

View File

@@ -0,0 +1,2 @@
export JMETER_HOME=`which jmeter`

View File

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

View File

@@ -0,0 +1,4 @@
#!/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