More bash builtins stuff
Shortly after I'd written the BASH_ENABLE_ALL_LOADABLE_BUILTINS function, I thought I'd leverage the output of that to add an -l flag to the enable builtin:
I wrapped it in a function, and it outputs a columnated list with highlighting:
It's still not perfect, as I wasn't completely sure how to sort it without re-iterating over the arrays a lot, but it's at a state where it works fine, and it was a fun little exercise. I'd like to be able to put it into columns without an external command, and though that would be possible it'd add a lot more complexity to the function and it's already bloated enough looking as it is!
















