bin/setup-windows

Fri, 09 Mar 2018 00:33:57 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 09 Mar 2018 00:33:57 -0500
changeset 699
46ba17d9a0f6
parent 688
2ad9a3d85adc
child 700
a325161d7ffb
permissions
-rwxr-xr-x

Remove un/underused stuff

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

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