Mercurial > dotfiles
comparison dot_zshrc @ 687:6aabd0b8d766
feat: install asdf directly without brew
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 02 Oct 2022 18:43:18 +0200 |
parents | 128696498485 |
children | f9eadf5e6d57 |
comparison
equal
deleted
inserted
replaced
686:e486254ef420 | 687:6aabd0b8d766 |
---|---|
247 | 247 |
248 export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' | 248 export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' |
249 | 249 |
250 [ -f ~/.zshrc.local ] && source ~/.zshrc.local | 250 [ -f ~/.zshrc.local ] && source ~/.zshrc.local |
251 | 251 |
252 # Must run after brew is loaded | 252 source $HOME/.asdf/asdf.sh |
253 if command -v brew &> /dev/null | 253 fpath=(${ASDF_DIR}/completions $fpath) |
254 then | |
255 source $(brew --prefix asdf)/libexec/asdf.sh | |
256 fi | |
257 | 254 |
258 if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ] | 255 if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ] |
259 then | 256 then |
260 source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" | 257 source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" |
261 fi | 258 fi |