scatterd-dotfiles/install.sh

19 lines
451 B
Bash
Raw Normal View History

2011-01-13 17:26:25 -05:00
#!/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."
2011-01-13 17:26:25 -05:00
fi
else
if [ "$name" != 'install.sh' ] && [ "$name" != 'README.md' ]; then
2011-01-13 17:26:25 -05:00
echo "Creating $target"
ln -s "$PWD/$name" "$target"
2011-01-13 17:26:25 -05:00
fi
fi
done
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim -u ~/.vimrc.bundles +BundleInstall +qa