Add a script to sync vim files
This commit is contained in:
8
bin/sync-vim.sh
Normal file
8
bin/sync-vim.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user