dotfiles/bin/sync-vim.sh

10 lines
275 B
Bash

#!/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/
echo "Syncing after directory" && cp -r ~/.vim/after ~/.dotfiles/vim/
fi