bin/homedir-setup

Sun, 09 Jan 2022 22:38:03 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 09 Jan 2022 22:38:03 -0600
changeset 970
498189926551
parent 969
28111ba4e573
child 971
7f391ae6b12b
permissions
-rwxr-xr-x

remove plenv references

#!/bin/bash
set -euo pipefail

source .lib/sh/util.sh

[ -f .zshrc ] ||
  die "Refusing to run without a .zshrc nearby"

git --version >/dev/null ||
  die "Please install git!"

clone_or_pull 'https://github.com/tarjoilija/zgen.git' .zgen

zsh -i -c 'zgen update' || :

clone_or_pull 'https://github.com/asdf-vm/asdf' .asdf
source .asdf/asdf.sh

asdf plugin add perl || :
asdf plugin update --all

bin/setup-man || :

# Get rid of older stuff
for OLD in .plenv .rbenv .ndenv; do
  if [ -e $OLD ]; then
    warn "Pruning $OLD"
    rm -rf $OLD
  fi
done

mercurial