Merge pull request #381 from starcraftman/powershell_path

Fix powershell command.
This commit is contained in:
Jeremy Pallats/starcraft.man 2016-01-18 10:24:43 -05:00
commit 7e7dec9252

View file

@ -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