bin/setup-windows

Wed, 22 May 2024 18:46:44 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 May 2024 18:46:44 -0500
changeset 1172
e9fe1489c0a6
parent 1106
902c7d44ab23
permissions
-rwxr-xr-x

fix nvim 0.10 deprecation / make required

#!/bin/sh
set -eu

if [ ! -L ~/userprofile ]; then
  echo "Please link ~/userprofile"
fi

USERPROFILE="$(readlink ~/userprofile)"

cd `hg root`

mkdir -p ${USERPROFILE}/vimfiles

cp -vu .vimrc ${USERPROFILE}/_vimrc
cp -vu .gvimrc ${USERPROFILE}/_gvimrc

cp -vuRL -t ${USERPROFILE}/vimfiles .vim/*

mkdir -p ${USERPROFILE}/AppData/Local/nvim
cp -vuRL -t ${USERPROFILE}/AppData/Local/nvim .config/nvim/*

mkdir -p ${USERPROFILE}/.goneovim
cp -vu .config/goneovim/settings.toml ${USERPROFILE}/.goneovim/

cp -vuRL -t ${USERPROFILE}/ \
  .lib \
  .ctags \
  .perltidyrc \
  .replyrc \
  .replyrc.pl

mercurial