dxhd
dxhd copied to clipboard
Named option groups
I'd like to be able to "name" option groups and use them in variable places in the command substitution. For example:
# shift + {a, b}:groupA + {c,d}:groupB
echo {hello, hi}:groupB {this is an example, blabla}:groupA
This would also make it easy to re-use option groups in for example multiple line commands.
I suggest that the rule for this should be that if any of the option groups are named, then all should be. Thoughts?
Looks fine to me 👍 let's go for it.