From 5117c1b87df436778ca6e3fa81403ab7a7654106 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 27 Aug 2024 14:48:22 +0200 Subject: [PATCH] simplify inline execute command --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48ee1da..96e2aca 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Alternatively, feel free to run the [install script](./install_windows.ps1) afte cloning the repository or directly execute it from shell: ```pwsh -[string]::Join("`n", (curl -sL 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1')) - | pwsh -c { $input | Invoke-Expression } +# Using 'Invoke-RestMethod' and 'Invoke-Expression' +irm 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1' + | iex ```