bin/homedir-setup

Sun, 14 Jul 2024 22:56:35 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 14 Jul 2024 22:56:35 -0500
changeset 1175
7907b9c30399
parent 999
f7bbd67b1aac
permissions
-rwxr-xr-x

Add which-key.nvim and descriptions

#!/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

[ -d .asdf/plugins/perl ] ||
    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