bin/setup-windows

Sun, 19 Feb 2023 22:48:58 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 19 Feb 2023 22:48:58 -0600
changeset 1037
47dae3972ee0
parent 980
ab27e37bbb82
child 1038
a1321a7e0b77
permissions
-rwxr-xr-x

include nvim files

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

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

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

mercurial