chrisant996 / clink

Bash's powerful command line editing in cmd.exe
https://chrisant996.github.io/clink/
GNU General Public License v3.0
3.44k stars 135 forks source link

Feature Request: add support in argmatchers so that git aliases can include flags #627

Closed chrisant996 closed 1 month ago

chrisant996 commented 2 months 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.

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.

chrisant996 commented 1 month ago

Included in v1.6.18.