From 5384001eba379c0bf61f65448c0320c6a79e0439 Mon Sep 17 00:00:00 2001 From: wyg1997 Date: Tue, 5 Nov 2019 16:09:31 +0800 Subject: [PATCH] Modify install files --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f3779c8..26e34d5 100755 --- a/install.sh +++ b/install.sh @@ -398,7 +398,7 @@ function install_ycm() cd ~/.vim/plugged/YouCompleteMe read -p "Please choose to compile ycm with python2 or python3, if there is a problem with the current selection, please choose another one. [2/3] " version - if [ $version == "2" ]; then + if [[ $version == "2" ]]; then echo "Compile ycm with python2." python2.7 ./install.py --clang-completer else