Configurazione GraalVM e Fig
This commit is contained in:
6
.bashrc
6
.bashrc
@@ -1,3 +1,5 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && . "$HOME/.fig/shell/bashrc.pre.bash"
|
||||||
#
|
#
|
||||||
# ~/.bashrc
|
# ~/.bashrc
|
||||||
#
|
#
|
||||||
@@ -196,3 +198,7 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
export SDKMAN_DIR="/home/plague/.sdkman"
|
export SDKMAN_DIR="/home/plague/.sdkman"
|
||||||
[[ -s "/home/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/home/plague/.sdkman/bin/sdkman-init.sh"
|
[[ -s "/home/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/home/plague/.sdkman/bin/sdkman-init.sh"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && . "$HOME/.fig/shell/bashrc.post.bash"
|
||||||
|
|||||||
11
.profile
11
.profile
@@ -1,3 +1,7 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zprofile.pre.zsh" ]] && . "$HOME/.fig/shell/zprofile.pre.zsh"
|
||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/profile.pre.bash" ]] && . "$HOME/.fig/shell/profile.pre.bash"
|
||||||
# Load profiles from /etc/profile.d
|
# Load profiles from /etc/profile.d
|
||||||
if test -d $HOME/.profile.d/; then
|
if test -d $HOME/.profile.d/; then
|
||||||
for profile in $HOME/.profile.d/*.sh; do
|
for profile in $HOME/.profile.d/*.sh; do
|
||||||
@@ -5,3 +9,10 @@ if test -d $HOME/.profile.d/; then
|
|||||||
done
|
done
|
||||||
unset profile
|
unset profile
|
||||||
fi
|
fi
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/profile.post.bash" ]] && . "$HOME/.fig/shell/profile.post.bash"
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zprofile.post.zsh" ]] && . "$HOME/.fig/shell/zprofile.post.zsh"
|
||||||
|
|||||||
1
.profile.d/graalvm.sh
Normal file
1
.profile.d/graalvm.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export GRAALVM_HOME="${SDKMAN_DIR}/candidates/java/current"
|
||||||
@@ -1 +1 @@
|
|||||||
export JAVA_HOME=$(/usr/libexec/java_home -v 11)
|
export JAVA_HOME=$(/usr/libexec/java_home -v 18)
|
||||||
|
|||||||
7
.zshenv
7
.zshenv
@@ -10,9 +10,11 @@ function appendpath() {
|
|||||||
appendpath $GOPATH/bin
|
appendpath $GOPATH/bin
|
||||||
appendpath $HOME/.local/bin
|
appendpath $HOME/.local/bin
|
||||||
appendpath $HOME/.pyenv/bin
|
appendpath $HOME/.pyenv/bin
|
||||||
appendpath $HOME/.minishift/cache/oc/v3.11.0/darwin
|
appendpath $HOME/.cargo/bin
|
||||||
appendpath /usr/local/opt/libarchive/bin
|
appendpath /usr/local/opt/libarchive/bin
|
||||||
appendpath /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.1.0/Contents/Home/bin
|
appendpath $HOME/.local/opt/kafka/bin
|
||||||
|
appendpath $HOME/.crc/bin
|
||||||
|
appendpath $HOME/.crc/bin/oc
|
||||||
unset appendpath
|
unset appendpath
|
||||||
|
|
||||||
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh
|
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh
|
||||||
@@ -25,3 +27,4 @@ export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig"
|
|||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
export SDKMAN_DIR="/Users/plague/.sdkman"
|
export SDKMAN_DIR="/Users/plague/.sdkman"
|
||||||
[[ -s "/Users/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/plague/.sdkman/bin/sdkman-init.sh"
|
[[ -s "/Users/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/plague/.sdkman/bin/sdkman-init.sh"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
|||||||
7
.zshrc
7
.zshrc
@@ -1,3 +1,5 @@
|
|||||||
|
# Fig pre block. Keep at the top of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
@@ -107,7 +109,7 @@ plugins=(
|
|||||||
web-search
|
web-search
|
||||||
zsh-completions
|
zsh-completions
|
||||||
zsh-navigation-tools
|
zsh-navigation-tools
|
||||||
zsh_reload
|
#zsh_reload
|
||||||
)
|
)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
@@ -157,3 +159,6 @@ eval "$(pyenv virtualenv-init -)"
|
|||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
|
# Fig post block. Keep at the bottom of this file.
|
||||||
|
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user