.vim/windows-vimfiles.sh

Thu, 24 Nov 2016 00:46:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 24 Nov 2016 00:46:32 -0500
changeset 436
3b52e54e5979
parent 332
8b1e01d4903d
child 527
1723448e286b
permissions
-rw-r--r--

lock down ssl settings, hide hostname and UA

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

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

mercurial