bin/setup-windows

Tue, 10 Mar 2020 18:32:36 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 10 Mar 2020 18:32:36 -0400
changeset 851
b8501cb649b6
parent 700
a325161d7ffb
child 978
39659c5ed5b0
permissions
-rwxr-xr-x

automatically try to pick up local::lib

#!/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 -vuRL -t ${USERPROFILE}/vimfiles .vim/*

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

cat <<ENDINSTR
#  rebuilding vimproc dll on babun for w32 gvim:
#  $ pact install mingw-gcc-core
#  $ make -f make_mingw32.mak CC=i686-pc-mingw32-gcc

#  for w64 gvim:
#  $ pact install mingw64-x86_64-gcc-core
#  $ make -f make_mingw64.mak CC=x86_64-w64-mingw32-gcc
ENDINSTR

mercurial