#!/bin/sh CMD="$1" DIR_NAME="$(dirname $0)" ln -sf "$DIR_NAME/.vim" .vim ln -sf "$DIR_NAME/.vimrc" .vimrc ln -sf "$DIR_NAME/.gvimrc" .gvimrc if [ -z "$CMD" ]; then echo "Run commands:" echo "git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim" echo "vim +PluginInstall +qall" else if [ "$CMD" = "all" ]; then git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim +PluginInstall +qall fi fi