bin/setup-windows

Mon, 21 Feb 2022 21:00:41 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 21 Feb 2022 21:00:41 -0600
changeset 982
51c555ca8a3b
parent 980
ab27e37bbb82
child 1037
47dae3972ee0
permissions
-rwxr-xr-x

Quicker statusline diags

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