# HG changeset patch # User Meredith Howard # Date 1464474633 14400 # Node ID b3b18ced6949f8489c9845c9878f04dcebfe1f91 # Parent c11c41360b9cd28dbbf8847d1ba9890476a41cd6 add asdf-vm diff --git a/.profile.common b/.profile.common --- a/.profile.common +++ b/.profile.common @@ -7,6 +7,10 @@ export DEVEL_REPL_PROFILE='Standard' alias hgcd='cd $(hg root)' alias gcd='cd "$(git rev-parse --show-toplevel)"' +if [ -d ~/.asdf ]; then + source ~/.asdf/asdf.sh +fi + if [ -f ~/.profile.common.local ]; then source ~/.profile.common.local fi diff --git a/bin/homedir-setup b/bin/homedir-setup --- a/bin/homedir-setup +++ b/bin/homedir-setup @@ -46,3 +46,13 @@ else pull .ndenv/plugins/node-build fi +if ! [ -d .asdf ]; then + git clone https://github.com/asdf-vm/asdf .asdf + git clone https://github.com/asdf-vm/asdf-erlang .asdf/plugins/erlang + git clone https://github.com/asdf-vm/asdf-elixir .asdf/plugins/elixir +else + pull .asdf + pull .asdf/plugins/erlang + pull .asdf/plugins/elixir +fi +