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

View File

@ -1,12 +0,0 @@
#!/bin/bash
if [ -f ~/.asdf/asdf.sh ]
then
# activate asdf
source ~/.asdf/asdf.sh
# activate completion
source ~/.asdf/completions/asdf.bash
fi

View File

@ -1,24 +0,0 @@
#!/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