bin/setup-windows

Wed, 22 Feb 2023 20:53:23 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Feb 2023 20:53:23 -0600
changeset 1046
952f0b41abe0
parent 1038
a1321a7e0b77
child 1047
7656dabe8a60
permissions
-rwxr-xr-x

copy goneovim settings

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

mkdir -p ${USERPROFILE}/AppData/Local/goneovim
cp -vu .config/goneovim/settings.toml ${USERPROFILE}/AppData/Local/goneovim/

cp -vuRL -t ${USERPROFILE}/ \
  .lib \
  .ctags \
  .perltidyrc \
  .replyrc \
  .replyrc.pl

mercurial