Mercurial > dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
662:b137de67217b | 663:fdce323431f4 |
---|---|
232 export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc | 232 export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc |
233 export BAT_CONFIG_PATH=$HOME/.config/bat/config | 233 export BAT_CONFIG_PATH=$HOME/.config/bat/config |
234 | 234 |
235 export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' | 235 export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' |
236 | 236 |
237 if command -v brew &> /dev/null | |
238 then | |
239 source $(brew --prefix asdf)/libexec/asdf.sh | |
240 fi | |
241 | |
242 if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ] | |
243 then | |
244 source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" | |
245 fi | |
246 | |
237 [ -f ~/.zshrc.local ] && source ~/.zshrc.local | 247 [ -f ~/.zshrc.local ] && source ~/.zshrc.local |
238 | 248 |
239 # Must run after brew is loaded | 249 # Must run after brew is loaded |
240 export SUDO_EDITOR=$(which nvim) | 250 export SUDO_EDITOR=$(which nvim) |
241 eval "$(direnv hook zsh)" | 251 eval "$(direnv hook zsh)" |