diff options
Diffstat (limited to 'make_links.sh')
-rwxr-xr-x | make_links.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/make_links.sh b/make_links.sh index fe5d7a6..86a3e5f 100755 --- a/make_links.sh +++ b/make_links.sh @@ -1,7 +1,19 @@ #!/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 |