18 lines
451 B
Bash
Executable file
18 lines
451 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for name in *; do
|
|
target="$HOME/.$name"
|
|
if [ -e "$target" ]; then
|
|
if [ ! -L "$target" ]; then
|
|
echo "WARNING: $target exists but is not a symlink."
|
|
fi
|
|
else
|
|
if [ "$name" != 'install.sh' ] && [ "$name" != 'README.md' ]; then
|
|
echo "Creating $target"
|
|
ln -s "$PWD/$name" "$target"
|
|
fi
|
|
fi
|
|
done
|
|
|
|
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
|
vim -u ~/.vimrc.bundles +BundleInstall +qa
|