.dotfiles/install/install-asdf.sh

13 lines
260 B
Bash
Raw Normal View History

2021-06-22 13:05:12 +02:00
if [ -d ~/.asdf ] ; then
echo " ✓ asdf already installed"
else
git clone --quiet https://github.com/asdf-vm/asdf.git ~/.asdf > /dev/null
cd ~/.asdf
git checkout --quiet "$(git describe --abbrev=0 --tags)" > /dev/null
. asdf.sh
fi