zsh fun with pyenv & sdkman

This commit is contained in:
Dan Buch 2020-08-16 22:30:03 -04:00
parent 7a0cb010b3
commit a20bbc4fcf
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

6
zshrc
View File

@ -38,7 +38,6 @@ path=(
$HOME/.rbenv/shims
$HOME/.phpenv/bin
$HOME/.pyenv/bin
$HOME/.pyenv/bin
$HOME/.yarn/bin
$HOME/perl5/bin
$HOME/Library/Python/3.8/bin
@ -94,6 +93,8 @@ source $ZSH/oh-my-zsh.sh
unalias gb &>/dev/null
export VISUAL=vim
export PYENV_ROOT="${HOME}/.pyenv"
export SDKMAN_DIR="${HOME}/.sdkman"
# The completion for aws is not compatible with $fpath :scream_cat:
if [[ -f /usr/local/share/zsh/site-functions/_aws ]] ; then
@ -196,9 +197,10 @@ __maybesource ~/google-cloud-sdk/path.zsh.inc
__maybesource ~/google-cloud-sdk/completion.zsh.inc
__maybesource /usr/share/nvm/init-nvm.sh silent
__maybesource /usr/local/opt/nvm/nvm.sh silent
__maybesource "$NVM_DIR/nvm.sh"
__maybesource "${NVM_DIR}/nvm.sh"
__maybesource ~/.kiex/scripts/kiex
__maybesource ~/.config/tabtab/__tabtab.zsh
__maybesource ~/.sdkman/bin/sdkman-init.sh
if [[ -f ~/perl5/lib/perl5/local/lib.pm ]]; then
eval "$(perl -I ~/perl5/lib/perl5 '-Mlocal::lib')"