Mercurial > dotfiles
diff dot_zshrc @ 663:fdce323431f4
Add asdf and config for python, neovim and direnv
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 27 Sep 2022 05:55:05 +0000 |
parents | b26c4c6ac25c |
children | a061086e1172 |
line wrap: on
line diff
--- a/dot_zshrc Mon Sep 26 14:26:48 2022 +0000 +++ b/dot_zshrc Tue Sep 27 05:55:05 2022 +0000 @@ -234,6 +234,16 @@ export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' +if command -v brew &> /dev/null +then + source $(brew --prefix asdf)/libexec/asdf.sh +fi + +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ] +then + source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" +fi + [ -f ~/.zshrc.local ] && source ~/.zshrc.local # Must run after brew is loaded