mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
264 B
11 lines
264 B
9 years ago
|
#!/bin/bash
|
||
|
VIMDIR=${1:-$HOME}
|
||
|
|
||
|
mv $VIMDIR/.vim $VIMDIR/.vim.old
|
||
|
mv $VIMDIR/.vimrc $VIMDIR/.vimrc.old
|
||
|
ln -s $PWD/.vim $VIMDIR/.vim 2> /dev/null
|
||
|
cat $PWD/_vimrc > $PWD/.vimrc
|
||
|
ln -s $PWD/.vimrc $VIMDIR/.vimrc 2> /dev/null
|
||
|
|
||
|
git submodule init && git submodule update
|