diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2019-06-13 20:17:37 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2019-06-13 20:17:37 +0200 |
commit | 25f1fc6d48f2b599e95ee5b6b9140fbc4ae47f63 (patch) | |
tree | da42a50907eed8bdba811c2f0f3bf0e2dcd447db /make_links.sh | |
parent | Adopt YCM again for some later experiments (diff) | |
download | vim_sync-25f1fc6d48f2b599e95ee5b6b9140fbc4ae47f63.tar.xz |
Add hint or command into the quick install script
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 |