28 clone_or_pull 'https://github.com/tarjoilija/zgen.git' .zgen |
28 clone_or_pull 'https://github.com/tarjoilija/zgen.git' .zgen |
29 |
29 |
30 zsh -i -c 'zgen update' || : |
30 zsh -i -c 'zgen update' || : |
31 |
31 |
32 if [ "$minimal" -ne 1 ]; then |
32 if [ "$minimal" -ne 1 ]; then |
33 clone_or_pull 'https://github.com/tokuhirom/plenv.git' .plenv |
33 clone_or_pull 'https://github.com/asdf-vm/asdf' .asdf |
34 clone_or_pull 'https://github.com/skaji/perl-install' .plenv/plugins/perl-install |
34 source .asdf/asdf.sh |
35 |
35 |
36 clone_or_pull 'https://github.com/asdf-vm/asdf' .asdf |
36 asdf plugin add perl || : |
37 |
37 asdf plugin update --all |
38 for PLUGIN in ruby nodejs erlang elixir; do |
|
39 clone_or_pull "https://github.com/asdf-vm/asdf-$PLUGIN" .asdf/plugins/$PLUGIN |
|
40 done |
|
41 |
38 |
42 bin/setup-man || : |
39 bin/setup-man || : |
43 fi |
40 fi |
44 |
41 |
45 # Get rid of older stuff |
42 # Get rid of older stuff |
46 for OLD in .plenv/plugins/perl-build .rbenv .ndenv; do |
43 for OLD in .plenv .rbenv .ndenv; do |
47 if [ -e $OLD ]; then |
44 if [ -e $OLD ]; then |
48 echo "Pruning $OLD" >&2 |
45 echo "Pruning $OLD" >&2 |
49 rm -rf $OLD |
46 rm -rf $OLD |
50 fi |
47 fi |
51 done |
48 done |