Explorar o código

Fix powershell command.

Jeremy Pallats/starcraft.man %!s(int64=10) %!d(string=hai) anos
pai
achega
13234b4029
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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