view .chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl @ 677:2dcf0ae65d5b

Remove repo from brewfile tap spec (#3) * Remove repo from brewfile tap spec * Remove manual tap from action
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Sat, 01 Oct 2022 07:18:31 +0200
parents c6b8132ce55f
children 723e5bae256b
line wrap: on
line source

{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
#!/usr/bin/env bash

# asdf globals tools hash: {{ include "dot_tool-versions" | sha256sum }}

asdf_plugin_add() {
  if ! asdf plugin-list | grep -Fq "$1"
  then
    asdf plugin-add "$1"
  else
    echo "asdf plugin $1 already installed"
  fi
}

asdf_plugin_add python
asdf_plugin_add neovim
asdf_plugin_add direnv

asdf install
asdf reshim

{{ end -}}