bin/setup-windows

Thu, 09 Mar 2023 00:15:10 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Mar 2023 00:15:10 -0600
changeset 1071
e76020af023d
parent 1047
7656dabe8a60
child 1106
902c7d44ab23
permissions
-rwxr-xr-x

add explicit begin-completion bind

#!/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}/.oneovim
cp -vu .config/goneovim/settings.toml ${USERPROFILE}/.goneovim/

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

mercurial