Have Win DMD use gmake instead of a separate DMMake makefile?

Walter Bright newshound2 at digitalmars.com
Mon Aug 12 17:37:51 PDT 2013


On 8/12/2013 4:59 PM, Nick Sabalausky wrote:
> Perhaps surprisingly though, I don't actually use ls on windows - but
> that's only because the win version doesn't give much (any?)
> visual distinction of directories vs files. Instead, I stuck an
> "ls.bat" in my windows directory that invokes "dir /w %*". Probably my
> #1 most used command, aside from maybe cd.

You can set the default switches that DIR uses by setting the DIRCMD environment 
variable:

     set DIRCMD=/w

I use:

     set DIRCMD=/O:D/P


More information about the Digitalmars-d mailing list