To get access to them:
--> <win><r> sysdm.cpl
--> Advanced (tab at the top)
--> Environmental Variables (button, lower right)
--> Path, Edit, add to the end
;C:\Program Files\Git\usr\bin
I edited my local user path before installing:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\ProgramData\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\Program Files\Perceptive Workgroup Search 10
c:\JFW
c:\JFW-scanclient
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\PuTTY\
C:\Users\andybach\AppData\Local\Microsoft\WindowsApps
c:\program files\git\usr\bin
I saw it did some PATH munging on its own - after installing :
C:\Users\andybach>echo %path% | tr ';' '\n'
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
...
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\PuTTY\
C:\Program Files\Git\cmd
C:\Program Files\Git\mingw64\bin
C:\Program Files\Git\usr\bin
C:\Users\andybach\AppData\Local\Microsoft\WindowsApps
c:\program files\git\usr\bin
so you don't need to munge it yourself. Nice to have ls and tr though I meant
to try MS's linux extension at some point.
________________________________
From: ToddAndMargo via perl6-users <[email protected]>
Sent: Thursday, April 9, 2020 5:47 AM
To: perl6-users <[email protected]>
Subject: tip: Windows, Git, and those nice Linux utilities
Hi All,
Since the Raku Windows Installer forgets to install Git along
with Zef:
https://github.com/rakudo/star/issues/145
You have to install Git yourself:
https://git-for-windows.github.io/
Now here is a sweet feature of having Git installed.
It comes with all kind of nice Linux utilities, like ls,
tar, more, etc..
To get access to them:
--> <win><r> sysdm.cpl
--> Advanced (tab at the top)
--> Environmental Variables (button, lower right)
--> Path, Edit, add to the end
;C:\Program Files\Git\usr\bin
I don't know about you guys, but every time I
want a directory listing in Windows, I type
`ls` and have to go back and change it to `dir`.
No longer!
:-)
-T