Take a look at this example:
[boda]$ alias aaa='echo aaa'
[boda]$ function aaa () { echo bbb }
[boda]$ function aaa () { echo bbb; }
[boda]$ aaa
aaa
As you can see I've both alias aaa
and function aaa
. However when I execute aaa
the alias runs.
How do I run the function instead?