$isalias().alias only returns the first line of an alias.
in aliases:
test {
; stuff here
}
from editbox:
//echo -a $isalias(test).alias
output: {
i noticed that, but i guessed it was intentional, considering most identifiers only return one line of text.
I could've sworn it said somewhere that it only worked for single-line aliases, but I can't find any documentation on that.
Anyway, a variable can't permanently store multi-line strings and you'd very often overrun the ~950 char limit so it wouldn't be much good in a majority of cases. Perhaps it would be good as a feature suggestion to have a &binvar as a second parameter to hold the entire alias definition.