dotfiles/bin/sync-vim.sh

11 lines
345 B
Bash
Raw Normal View History

2017-06-13 16:25:35 +00:00
#!/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/
2017-07-26 16:06:00 +00:00
echo "Syncing templates" && cp -r ~/.vim/templates ~/.dotfiles/vim/
2017-06-13 16:25:35 +00:00
fi