I\'d need to be able to define an alias in a Debian shell that includes other aliases, for a project I\'m currently working on.
Let\'s look at a code example to make thi
Following @anubhava's sage advice:
foo() { echo foo; } bar() { echo bar; } foobar() { echo "$(foo)$(bar)"; } fooandbar() { echo "$(foo)and$(bar)"; }
Spaces and semicolons inside {} are required there.
{}