Say, if you have a script that would take as a parameter something that you have aliased, it wouldn't work.
I mean:
$ ./script.sh myalias whatever else
/home/dude/scripts/script.sh: line 3: myalias: command not found
In order to make it work, the said script must include:
Code:
shopt -s expand_aliases
source ~/.bash_aliases
(Or wherever your aliases are set, which would preferably be...