bin/setup-windows

Wed, 28 Dec 2022 22:28:58 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 28 Dec 2022 22:28:58 -0500
changeset 1006
12d7a48cef22
parent 980
ab27e37bbb82
child 1037
47dae3972ee0
permissions
-rwxr-xr-x

add shfmt and scdoc stubs

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