1 of 5

zshrc vs bashrc aliases - alias ?= not working

I was lead to believe that there were no differences between aliases in zshrc and bashrc however, that appears to not be the case. I had an alias that would help me familiarize myself with the command line utilities available to me, but after copying it over to the new zshrc of mine, it fails to work. I have confirmed that it's not an error by changing the alias, which resolved the issue.

Why can I not use ? when creating an alias?