As you probably noticed, the replacement mechanism doesn't work properly when the current directory is C:\Windows\System32 (which wouldn't be that bad if it weren't the default directory of an elevated command prompt).
I considered literally clobbering the commands in Windows\System32 so the coreutils commands would be found. This is not recommended due to servicing reasons.
Thus, I filed https://aka.ms/AA11lcib for the Windows side of it.
If Microsoft actually listens to me they'll move find into its own package so it can be uninstalled independently; but if not we may find ourselves in the position of rebuilding the replace and tree commands as well. Tree is trivial; if I knew Rust I could do so immediately. Replace is not.
As you probably noticed, the replacement mechanism doesn't work properly when the current directory is C:\Windows\System32 (which wouldn't be that bad if it weren't the default directory of an elevated command prompt).
I considered literally clobbering the commands in Windows\System32 so the coreutils commands would be found. This is not recommended due to servicing reasons.
Thus, I filed https://aka.ms/AA11lcib for the Windows side of it.
If Microsoft actually listens to me they'll move find into its own package so it can be uninstalled independently; but if not we may find ourselves in the position of rebuilding the replace and tree commands as well. Tree is trivial; if I knew Rust I could do so immediately. Replace is not.