Sun, 19 Feb 2023 22:51:18 -0600
ensure nvim directory eixsts
#!/bin/sh set -eu if [ ! -L ~/userprofile ]; then echo "Please link ~/userprofile" fi USERPROFILE="$(readlink ~/userprofile)" cd `hg root` mkdir -p ${USERPROFILE}/vimfiles cp -vu .vimrc ${USERPROFILE}/_vimrc cp -vu .gvimrc ${USERPROFILE}/_gvimrc cp -vuRL -t ${USERPROFILE}/vimfiles .vim/* mkdir -p ${USERPROFILE}/AppData/Local/nvim cp -vuRL -t ${USERPROFILE}/AppData/Local/nvim .config/nvim/* cp -vuRL -t ${USERPROFILE}/ \ .lib \ .ctags \ .perltidyrc \ .replyrc \ .replyrc.pl