X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=6884298ace204cd30d541f3eed57dfb17a0e95a2;hb=b0086513fce699422e101d079820316b1a7a438d;hp=10591b6cb02d5dad6bd376e40070ebbc0dfcbfa0;hpb=c3cde29203089e6a75a1187fbb695cf51afa7f2d;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 10591b6..6884298 100755 --- a/setup.sh +++ b/setup.sh @@ -18,11 +18,12 @@ # along with this program. If not, see . -set -e +set -eu . ../lib.sh -# Create local directories. + +# Create directories. mkdir -p vim/cache # Create documentation tags for pathogen plugins. `vim -e` always exists with @@ -36,6 +37,11 @@ if installed gvim; then link gvimrc ~/.gvimrc fi +# Create/Update custom spell checking files. +if test -f vim/spell/Makefile; then + make -C vim/spell +fi + if test -d ~/.crontab.d; then link crontab ~/.crontab.d/crontab.dotfiles-vim fi