De-emphasize cmd.exe in readme (#768)
cmd.exe is very fiddly, and Powershell is widely available, so recommend Powershell over cmd.exe in the readme
This commit is contained in:
parent
9eb774e2ce
commit
d398417de3
24
README.adoc
24
README.adoc
@ -88,7 +88,18 @@ On Windows, `just` works with the `sh` provided by https://git-scm.com[Git for W
|
|||||||
|
|
||||||
If you'd rather not install `sh`, you can use the `shell` setting to use the shell of your choice.
|
If you'd rather not install `sh`, you can use the `shell` setting to use the shell of your choice.
|
||||||
|
|
||||||
Like `cmd.exe`:
|
Like Powershell:
|
||||||
|
|
||||||
|
```make
|
||||||
|
|
||||||
|
# use Powershell instead of sh:
|
||||||
|
set shell := ["powershell.exe", "-c"]
|
||||||
|
|
||||||
|
hello:
|
||||||
|
Write-Host "Hello, world!"
|
||||||
|
```
|
||||||
|
|
||||||
|
…or `cmd.exe`:
|
||||||
|
|
||||||
```make
|
```make
|
||||||
|
|
||||||
@ -99,16 +110,7 @@ list:
|
|||||||
dir
|
dir
|
||||||
```
|
```
|
||||||
|
|
||||||
…or Powershell:
|
(Powershell is installed by default on Windows 7 SP1 and Windows Server 2008 R2 S1 and later, and `cmd.exe` is quite fiddly, so Powershell is recommended for most Windows users.)
|
||||||
|
|
||||||
```make
|
|
||||||
|
|
||||||
# use Powershell instead of sh:
|
|
||||||
set shell := ["powershell.exe", "-c"]
|
|
||||||
|
|
||||||
hello:
|
|
||||||
Write-Host "Hello, world!"
|
|
||||||
```
|
|
||||||
|
|
||||||
=== Packages
|
=== Packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user