bin/setup-windows

Fri, 09 Sep 2022 12:30:20 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Sep 2022 12:30:20 -0400
changeset 1001
0597cb8f2d07
parent 980
ab27e37bbb82
child 1037
47dae3972ee0
permissions
-rwxr-xr-x

Try to land with my bin first

#!/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}/ \
  .lib \
  .ctags \
  .perltidyrc \
  .replyrc \
  .replyrc.pl

mercurial