12 lines
402 B
Bash
12 lines
402 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ ! -d "~/.vim" ]; then
|
|
echo "Syncing user dictionary" && cp -r ~/.vim/spell ~/.dotfiles/vim/
|
|
echo "Syncing user colors" && cp -r ~/.vim/colors ~/.dotfiles/vim/
|
|
echo "Syncing after directory" && cp -r ~/.vim/after ~/.dotfiles/vim/
|
|
echo "Syncing templates" && cp -r ~/.vim/templates ~/.dotfiles/vim/
|
|
echo "Syncing ftdetect" && cp -r ~/.vim/ftdetect ~/.dotfiles/vim/
|
|
fi
|