Skip to content

Commit

Permalink
Fix asdf installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmena1 committed Mar 15, 2024
1 parent adf6ae3 commit ef802ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/.chezmoiscripts/run_once_after_02-asdf-install.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ install_asdf() {
if [[ $answer =~ ^[Yy]$ ]]; then
if [[ ! -d ~/.asdf ]]; then
action "Cloning git repo..."
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0 && source ~/.asdf/asdf.sh || { echo "Failed to clone asdf repository"; exit 1; }
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0 || { echo "Failed to clone asdf repository"; exit 1; }
else
ok "asdf dir already exists, skipping cloning"
source ~/.asdf/asdf.sh
fi
else
ok "Skipping"
Expand Down

0 comments on commit ef802ed

Please sign in to comment.