feat: Déplacement initialisation asdf de rc.d vers profile.d

This commit is contained in:
Xavier Logerais 2024-06-18 12:42:52 +00:00
parent 2fa4a55223
commit 9fddab2e35
2 changed files with 11 additions and 12 deletions

11
profile.d/asdf Normal file
View File

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