Closed chrisant996 closed 1 month ago
Originally posted in https://github.com/vladimir-kotikov/clink-completions/issues/188
The git completions in clink-completions are able to support git aliases like foo=branch, where it aliases only a command name.
git
foo=branch
But they can't support git aliases like foo=branch -D where it aliases a command and also flags or arguments.
foo=branch -D
For that to work, Clink would need to allow argmatchers to do custom alias resolutions. It's not out of the question, but it's quite complicated.
I don't know if/when I might work on that.
Included in v1.6.18.
Originally posted in https://github.com/vladimir-kotikov/clink-completions/issues/188
The
git
completions in clink-completions are able to support git aliases likefoo=branch
, where it aliases only a command name.But they can't support git aliases like
foo=branch -D
where it aliases a command and also flags or arguments.For that to work, Clink would need to allow argmatchers to do custom alias resolutions. It's not out of the question, but it's quite complicated.
I don't know if/when I might work on that.