From 25f1fc6d48f2b599e95ee5b6b9140fbc4ae47f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Thu, 13 Jun 2019 20:17:37 +0200 Subject: Add hint or command into the quick install script --- make_links.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'make_links.sh') 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 -- cgit v1.2.3