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 ...
If you've worked in the terminal, it's likely you're in some way proficient with the command history features of your shell. There's a lot more functionality than many realise however, and learning it ...