.vim/windows-vimfiles.sh

Sat, 14 Feb 2015 17:40:22 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 14 Feb 2015 17:40:22 -0500
changeset 168
593608369a48
parent 130
906ce6af31f6
child 189
39f8cd12ec5c
permissions
-rw-r--r--

Re-enable toolbar so it can be auto-hidden

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