1
0
Fork 0

fix(direnv): set PATH to asdf

This commit is contained in:
Michel 2022-12-26 17:48:58 +01:00
parent d7be87ff09
commit 36d30825c3
1 changed files with 7 additions and 0 deletions

7
vimrc
View File

@ -642,6 +642,13 @@ let g:ale_linters_explicit=1
""
"" Optional: Run direnv's hook appropriately
if ! executable('asdf')
let $PATH .= ':' .$HOME. '/.asdf/bin'
if ! executable('asdf')
echo 'Cannot find the asdf executable'
endif
endif
" echo 'asdf is '. exepath('asdf')
let g:direnv_cmd = $HOME . '/.asdf/installs/direnv/2.32.1/bin/direnv'
packadd! direnv