fix(direnv): set PATH to asdf
This commit is contained in:
parent
d7be87ff09
commit
36d30825c3
7
vimrc
7
vimrc
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user