dxhd icon indicating copy to clipboard operation
dxhd copied to clipboard

Named option groups

Open NotUnlikeTheWaves opened this issue 3 years ago • 1 comments

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?

NotUnlikeTheWaves avatar Jun 25 '21 09:06 NotUnlikeTheWaves

Looks fine to me 👍 let's go for it.

dakyskye avatar Jun 25 '21 18:06 dakyskye