fix: move asdf and direnv from profile.d back to rc.d

This commit is contained in:
2021-05-02 21:15:29 +02:00
parent 554f8a4db8
commit a6948a056a
2 changed files with 0 additions and 0 deletions

24
rc.d/direnv Normal file
View File

@ -0,0 +1,24 @@
#!/bin/bash
if ( which asdf &> /dev/null )
then
if ( asdf which direnv &> /dev/null )
then
# Hook direnv into your shell.
eval "$(asdf exec direnv hook bash)"
# A shortcut for asdf managed direnv.
direnv() { asdf exec direnv "$@"; }
return
fi
elif ( which direnv &> /dev/null )
then
# Hook direnv into your shell.
eval "$(direnv hook bash)"
fi