X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/8503727ab086d3e81f90abb7734b18c584ac08fd..ad7a214d01c42b9c784e5d2b79466ec25f56bd22:/runcoms/zshrc?ds=inline diff --git a/runcoms/zshrc b/runcoms/zshrc index ea7d522..808616a 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -88,12 +88,20 @@ fi if [[ -s "/opt/homebrew/bin/brew" ]]; then . /opt/homebrew/etc/profile.d/z.sh else - . /usr/local/etc/profile.d/z.sh + if [[ -s "/usr/share/z/z.sh" ]]; then + . /usr/share/z/z.sh + else + . /usr/local/etc/profile.d/z.sh + fi fi # ASDF if ! command -v brew &> /dev/null; then - . $HOME/.asdf/asdf.sh + if [[ -s "/opt/asdf-vm/asdf.sh" ]]; then + . /opt/asdf-vm/asdf.sh + else + . $HOME/.asdf/asdf.sh + fi else . $(brew --prefix asdf)/asdf.sh fi