From 13234b402908c4940b203c7a000ad23521053ae1 Mon Sep 17 00:00:00 2001 From: "Jeremy Pallats/starcraft.man" Date: Mon, 18 Jan 2016 10:19:06 -0500 Subject: [PATCH] Fix powershell command. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 13b9e3d..061d7ca 100644 --- a/README.md +++ b/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