Re: Change Native Windows shell
- From
Steven Penny <svnpenn@gmail.com>
- Date
- Jun 8, 2020, 23:14 UTC
- Message-ID
- <CAAXzdLVmuONmow6cB-kko8-CkP2sA=UfpPBkiXqSCuTacGsFWA@mail.gmail.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.2006081935530.482@ZVAVAG-DN14RQO.ybpnyqbznva>
On Mon, Jun 8, 2020 at 5:46 PM Johannes Schindelin wrote:
Show 13 quoted lines
> That assumes that PowerShell is installed, which is not guaranteed, > either. > > Besides, quoting rules are most likely different with PowerShell than what > Git assumes, so you will have to take care of that, too. > > Finally, there are plenty of tips out there in the internet that simply > expect a POSIX shell to execute those script snippets. Any user would be > completely (and unnnecessarily) puzzled if those snippets won't work with > their Git for Windows. > > In short: it would be unwise for me to accept this change into Git for > Windows, at least as-is.
I found a workaround. It seems as long as PAGER or similar is not get, then Git just tries to call `less.exe`. I didnt realize when I first posted this, but native Windows Less is available:
https://github.com/jftuga/less-Windows/releases
So I am just bundling that with my Windows native Git:
https://github.com/nu8/gulf/releases