.vim/windows-vimfiles.sh

Fri, 27 May 2016 18:02:00 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 May 2016 18:02:00 -0400
changeset 325
6dc43d41bed1
parent 189
39f8cd12ec5c
child 332
8b1e01d4903d
permissions
-rw-r--r--

cheaply color diffs, disable nested quote colors

#!/bin/bash

set -euo pipefail
IFS=$'\n\t'

if [ ! -L ~/userprofile ]; then
  echo "Please link ~/userprofile"
fi

USERPROFILE="$(readlink ~/userprofile)"

cd `hg root`

cp -vu .vimrc ${USERPROFILE}/_vimrc

if [ ! -d ${USERPROFILE}/vimfiles ]; then
  mkdir ${USERPROFILE}/vimfiles
fi

cp -vuRL -t ${USERPROFILE}/vimfiles .vim/*

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

mercurial