From 0b0630101a557b4c3cd4750373294865ad9c97d9 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Tue, 13 Jun 2017 12:25:35 -0400 Subject: [PATCH] Add a script to sync vim files --- bin/sync-vim.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 bin/sync-vim.sh diff --git a/bin/sync-vim.sh b/bin/sync-vim.sh new file mode 100644 index 0000000..5318b76 --- /dev/null +++ b/bin/sync-vim.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +if [ ! -d "~/.vim" ]; then + echo "Syncing user dictionary" && cp ~/.vim/spell/* ~/.dotfiles/vim/spell/ + echo "Syncing user colors" && cp ~/.vim/colors/* ~/.dotfiles/vim/colors/ +fi