diff --git a/install b/install index 841eb6d..170a48d 100755 --- a/install +++ b/install @@ -96,19 +96,22 @@ fi git config --global user.email "paul@blacksun.org.uk" git config --global user.name "Paul Walker" -git clone https://github.com/rbenv/rbenv.git "$HOME/.rbenv" -git clone https://github.com/rbenv/ruby-build.git "$HOME/.rbenv/plugins/ruby-build" +if [ ! -d "$HOME/.rbenv" ] ; then + git clone https://github.com/rbenv/rbenv.git "$HOME/.rbenv" + git clone https://github.com/rbenv/ruby-build.git "$HOME/.rbenv/plugins/ruby-build" +fi if [ ! -d "$HOME/.asdf" ] ; then git clone https://github.com/asdf-vm/asdf.git "$HOME/.asdf" fi # Add and install these ones. -for plugin in golang erlang elixir clojure ; do - asdf plugin add $plugin - asdf install $plugin latest - asdf global $plugin latest +for plugin in golang erlang elixir clojure ripgrep sbcl ; do + asdf plugin add $plugin && \ + asdf install $plugin latest && \ + asdf global $plugin latest done + # Just add these, for now. asdf plugin add python asdf plugin add gohugo