You'll probably see PowerShell instead of Command Prompt unless you're using an ancient version of Windows 10. The Creators ...
The ri command will now always run the version in /usr/bin, even if a version is later installed in the homebrew directory, or anywhere else. In effect, using a full absolute path in your alias breaks ...