It’s not that trying to run the alias doesn’t do what I expect. The alias command itself appears to do nothing.
If I try to do:
alias python2='python3'
alias | grep python
I get two blank outputs. I would expect the second to acknowledge that I had added an alias, but it does not.