.vim/windows-vimfiles.sh

Fri, 26 Sep 2014 21:15:16 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 26 Sep 2014 21:15:16 -0400
branch
mhoward-lt
changeset 147
c85924edbea7
parent 130
906ce6af31f6
child 189
39f8cd12ec5c
permissions
-rw-r--r--

Merge from default

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

mercurial