Hacker News new | ask | show | jobs
by Liquid_Fire 609 days ago
Aliases are not expanded in shell scripts, unless they explicitly opt into it. Additionally, they are run in a non-interactive shell, so will not load your ~/.bashrc where you probably defined the alias.
1 comments

Nice to know, thank you