From 505595fb6e5ef985c6ca6a680c3a658127728035 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 13 Jan 2021 22:12:27 +0800 Subject: [PATCH] [bugfix] not working on powershell --- cli/vim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 6b04053..122f307 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -98,7 +98,7 @@ endif let vim_plug_just_installed = 0 if !filereadable(vim_plug_path) echo "Installing vim-plug..." - :exe "!curl -fLo " . vim_plug_path . " --create-dirs https://gitee.com/klesh/vim-plug/raw/master/plug.vim" + :exe "!curl -fLo \"" . vim_plug_path . "\" --create-dirs https://gitee.com/klesh/vim-plug/raw/master/plug.vim" let vim_plug_just_installed = 1 echo "vim-plug installed" endif