DUB Bash Completion

w0rp via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Jul 13 13:15:04 PDT 2014


On Monday, 7 July 2014 at 09:22:41 UTC, Nordlöw wrote:
> So I put together something that works in the majority of cases 
> even for sub command specific flags including package 
> completion:
>
> https://github.com/nordlow/scripts/blob/master/dub-completion.bash
>
> Feedback appreciated!

This is pretty great. Thanks for writing this!

I suppose one extra step you could go would be to somehow 
complete --config= too, so you could tab complete --config=foo 
and --config=bar or something.


More information about the Digitalmars-d-announce mailing list