Quote:
I'd mean 2 aliases that have the same name
the function would have to be able to discriminate between aliases that are global and have the same name to aliases that are local.

While a local alias is restricted to being called from the specific script that it's part of (same remote), global aliases can be called from any remote or even the command line.

While being able to quickly tell if there was 2 or more global aliases that have the same name (which is what it looks like you're suggesting), it wouldn't matter for local aliases.

A suggestion of my own, similar to this, is the ability to make groups local or global or a function to warn you if you are making a group that already exists in a loaded script. (P.S.: My apologies for adding a suggestion to your post, rather than making one of my own.)

Right now groups default as global, and therefore if you have two or more groups with the same name, when you enable/disable the group, you get all of the groups with that name.