Why not just add ripgrep as a dependency, effectively making it an alias of the original package?
Better to just make `cargo install rg` fail so that it never worked in the first place. `cargo install ripgrep` is also more self-describing and gives you a better search engine query.
Let people do the mistakes once and learn the correct package name, instead of relying on a hack and potentially introduce confusion later.