Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Jun 1, 2024
1 parent 5735426 commit d51cd8a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions dot_profile
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,15 @@ command -v go &> /dev/null && export PATH=`go env GOPATH`/bin:$PATH
# └──────────┘
command -v bob &> /dev/null && export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"

# ┌────────┐
# │ SDKMAN │
# └────────┘
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

# ┌───────┐
# │ PYENV │
# └───────┘
# THIS SHOULD BE AT THE LAST LINE BECAUSE OF THE USAGE OF "eval" BELOW
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
command -v pyenv > /dev/null && eval "$(pyenv init --path)"

# ┌────────┐
# │ SDKMAN │
# └────────┘
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

0 comments on commit d51cd8a

Please sign in to comment.