Skip to content

Brace expansion support? #489

Answered by chrisant996
eggbean asked this question in Q&A
Discussion options

You must be logged in to vote

Brace expansion is a shell expansion, part of the bash shelf scripting language, not part of the Readline input editor. Brace expansion can be used in shell scripts, which means it's part of the language.

Tilde expansion makes that confusing, though, since there are two different kinds: tilde expansion during completion which is done by Readline and also tilde expansion in the shell language which is done in the script engine and can be used in scripts (and has slightly different syntax!). Clink only has the first kind of tilde expansion, which happens in the input editor.

One could write a Lua script to perform brace expansion. One would have to implement it from scratch, so it might not…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eggbean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question about something working as intended The usage is working as intended
2 participants