Browse Source

Fix powershell command.

Jeremy Pallats/starcraft.man 10 years ago
parent
commit
13234b4029
1 changed files with 1 additions and 2 deletions
  1. 1 2
      README.md

+ 1 - 2
README.md

@@ -45,9 +45,8 @@ curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
 
 
 ```powershell
 ```powershell
 md ~\vimfiles\autoload
 md ~\vimfiles\autoload
-
 $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
 $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
 ### Usage