Sun, 22 Feb 2015 12:07:34 -0500
add hgcd alias
#!/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/*