diff dot_zshrc @ 809:72744c944497

feat: install packages and rtx for management
author zegervdv <zegervdv@me.com>
date Tue, 05 Dec 2023 20:03:16 +0100
parents 1f10e0814bb2
children 8847b222a788
line wrap: on
line diff
--- a/dot_zshrc	Sun Dec 03 22:24:26 2023 +0100
+++ b/dot_zshrc	Tue Dec 05 20:03:16 2023 +0100
@@ -310,13 +310,8 @@
 
 [ -f ~/.zshrc.local ] && source ~/.zshrc.local
 
-source $HOME/.asdf/asdf.sh
-fpath=(${ASDF_DIR}/completions $fpath)
-
-if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ]
-then
-  source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc"
-fi
+eval "$($HOME/bin/rtx activate zsh)"
+eval "$($HOME/bin/rtx hook-env)"
 
 export SUDO_EDITOR=$(which nvim)
 eval "$(direnv hook zsh)"