mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-27 20:01:45 +00:00
simplify inline execute command
This commit is contained in:
parent
a009fae931
commit
5117c1b87d
@ -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:
|
cloning the repository or directly execute it from shell:
|
||||||
|
|
||||||
```pwsh
|
```pwsh
|
||||||
[string]::Join("`n", (curl -sL 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1'))
|
# Using 'Invoke-RestMethod' and 'Invoke-Expression'
|
||||||
| pwsh -c { $input | Invoke-Expression }
|
irm 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1'
|
||||||
|
| iex
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user