From 12c633a812325a286e3e15f1df8b632d12b99224 Mon Sep 17 00:00:00 2001 From: timm bangma Date: Thu, 6 Aug 2020 13:38:17 -0400 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A tidy one liner for the powershell install command. Much like the unix one 😄 --- README.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0bb592b..c7c6647 100644 --- a/README.md +++ b/README.md @@ -44,14 +44,8 @@ file as suggested [here][auto]. ###### Windows (PowerShell) ```powershell -md ~\vimfiles\autoload -$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' -(New-Object Net.WebClient).DownloadFile( - $uri, - $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( - "~\vimfiles\autoload\plug.vim" - ) -) +iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` + ni $HOME/vimfiles/autoload/plug.vim -Force ``` #### Neovim @@ -73,14 +67,8 @@ curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim \ ###### Windows (PowerShell) ```powershell -md ~\AppData\Local\nvim-data\site\autoload -$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' -(New-Object Net.WebClient).DownloadFile( - $uri, - $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( - "~\AppData\Local\nvim-data\site\autoload\plug.vim" - ) -) +iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` + ni $HOME/AppData/Local/nvim-data/site/autoload/plug.vim -Force ``` ### Getting Help