From f05a9928e4b05e612a3c8a46800929716bd26d1f Mon Sep 17 00:00:00 2001 From: Edward Dorrington Date: Tue, 27 Aug 2024 19:39:16 -0600 Subject: [PATCH 1/2] Add asdf plugin --- .zshrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 1a04aad..8a26f5a 100644 --- a/.zshrc +++ b/.zshrc @@ -14,12 +14,12 @@ case "`uname`" in alias df='df -x squashfs -x tmpfs -x devtmpfs' alias mount='mount -t ext3,ext4,cifs,nfs,nfs4,zfs,vfat,btrfs' alias open=xdg-open - plugins=(battery golang zsh-syntax-highlighting) + plugins=(asdf battery golang zsh-syntax-highlighting) ;; Darwin) test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" STATARGS="-f %m" - plugins=(battery brew golang lein macos zsh-syntax-highlighting) + plugins=(asdf battery brew golang lein macos zsh-syntax-highlighting) ;; OpenBSD) STATARGS="-f %m" @@ -129,3 +129,12 @@ fi typeset -U path + +# >>> juliaup initialize >>> + +# !! Contents within this block are managed by juliaup !! + +path=('/Users/ed/.juliaup/bin' $path) +export PATH + +# <<< juliaup initialize <<< From 4c245cb47c1fb57981f0b6efcac2a34909048ee7 Mon Sep 17 00:00:00 2001 From: Edward Dorrington Date: Tue, 27 Aug 2024 19:44:20 -0600 Subject: [PATCH 2/2] source asdf.sh --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 8a26f5a..3b2feac 100644 --- a/.zshrc +++ b/.zshrc @@ -128,6 +128,9 @@ fi # Remove duplicate entries in the PATH typeset -U path +if [ -e $HOME/.asdf/asdf.sh ]; then + source $HOME/.asdf/asdf.sh +fi # >>> juliaup initialize >>>