浏览代码

Fix powershell command.

Jeremy Pallats/starcraft.man 10 年之前
父节点
当前提交
13234b4029
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      README.md

+ 1 - 2
README.md

@@ -45,9 +45,8 @@ curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
 
 ```powershell
 md ~\vimfiles\autoload
-
 $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
-(New-Object Net.WebClient).DownloadFile($uri, (Resolve-Path ~\vimfiles\autoload\plug.vim))
+(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\autoload\plug.vim"))
 ```
 
 ### Usage