Jump to page: 1 2
Thread overview
DUB Bash Completion
Jul 07, 2014
Nordlöw
Jul 07, 2014
Sönke Ludwig
Jul 07, 2014
Nordlöw
Jul 07, 2014
Nordlöw
Jul 09, 2014
Sönke Ludwig
Jul 10, 2014
Nordlöw
Jul 13, 2014
Sönke Ludwig
Jul 08, 2014
Jordi Sayol
Jul 13, 2014
w0rp
Jul 13, 2014
Nordlöw
Jul 14, 2014
Mathias LANG
Jul 14, 2014
Nordlöw
Jul 18, 2014
Matt Soucy
July 07, 2014
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!
July 07, 2014
Am 07.07.2014 11:22, schrieb "Nordlöw":
> 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!

Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution.

BTW, corresponding GitHub issue:
https://github.com/D-Programming-Language/dub/issues/154
July 07, 2014
On Monday, 7 July 2014 at 10:58:02 UTC, Sönke Ludwig wrote:
> Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution.

Very ok with me :)

> BTW, corresponding GitHub issue:
> https://github.com/D-Programming-Language/dub/issues/154

Thx.
July 07, 2014
On Monday, 7 July 2014 at 11:55:48 UTC, Nordlöw wrote:
>> BTW, corresponding GitHub issue:
>> https://github.com/D-Programming-Language/dub/issues/154

Do you fix the PR?
July 08, 2014
El 07/07/14 12:58, Sönke Ludwig via Digitalmars-d-announce ha escrit:
> Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution.

I'm agree. I'll include it on deb packages as sun as it is in dub repository.

Regards,
-- 
Jordi Sayol


July 09, 2014
Am 07.07.2014 13:57, schrieb "Nordlöw":
> On Monday, 7 July 2014 at 11:55:48 UTC, Nordlöw wrote:
>>> BTW, corresponding GitHub issue:
>>> https://github.com/D-Programming-Language/dub/issues/154
>
> Do you fix the PR?

Shall I just commit the file (with you as the author of course), or do you want to open a pull request?

I've tried it now and it worked flawlessly so far.
July 10, 2014
On Wednesday, 9 July 2014 at 16:12:01 UTC, Sönke Ludwig wrote:
> Shall I just commit the file (with you as the author of course), or do you want to open a pull request?

You can commit the file. That's ok with me :)

> I've tried it now and it worked flawlessly so far.

I'm glad :)

Thx
July 13, 2014
Am 10.07.2014 11:06, schrieb "Nordlöw":
> On Wednesday, 9 July 2014 at 16:12:01 UTC, Sönke Ludwig wrote:
>> Shall I just commit the file (with you as the author of course), or do
>> you want to open a pull request?
>
> You can commit the file. That's ok with me :)
>

https://github.com/D-Programming-Language/dub/commit/6d4a387c62b0be271d6acf9e16cf81511077a67f

Thanks again!
July 13, 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.
July 13, 2014
On Sunday, 13 July 2014 at 20:15:06 UTC, w0rp wrote:
> 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.

    --config

is not documented by

    dub -h

Is it a sub command flag?
« First   ‹ Prev
1 2