dotfiles/zshrc: add asdf version manager

This commit is contained in:
Alan Orth 2022-05-05 10:50:54 +03:00
parent 2524b0d6cd
commit e5a8d48de9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 9 additions and 0 deletions

View File

@ -46,6 +46,15 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
fi
fi
{%@@ if profile == "balozi" @@%}
# Enable asdf version manager zsh completions
. /opt/asdf-vm/asdf.sh
# Enable setting JAVA_HOME, requires the asdf-java plugin installed for this
# user. Currently disabled because it adds a noticeable lag to the shell
# See: https://github.com/halcyon/asdf-java
#. ~/.asdf/plugins/java/set-java-home.zsh
{%@@ endif @@%}
alias ls='ls -F --color=auto'
alias less='less -R' # preserves colors in GNU coreutils' `less`