To counteract this behavior, run it with a space after it. For instance, I have an alias like this:

<br></br> alias sudo='sudo '<br></br>

That way, whenever you type sudo, you are actually adding that extra space which enables aliases to be expanded in your current env!!!!

More here!

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.