#609488 Please add bash completion

Package:
sbuild
Source:
sbuild
Submitter:
Laurent Bigonville
Date:
2019-12-16 11:51:03 UTC
Severity:
wishlist
#609488#5
Date:
2011-01-09 21:22:02 UTC
From:
To:
Hi,

Could be interesting to add bash completion that complete options and
that also detect .dsc files in the current directory.

Cheers

Laurent Bigonville

#609488#10
Date:
2011-01-09 23:51:59 UTC
From:
To:
Definitely.  I would be happy to accept any such completions.  I'm
not a bash user myself though, so it would need a bash user to
contribute one for me to distribute it.


Thanks,
Roger

#609488#15
Date:
2015-12-25 19:08:56 UTC
From:
To:
Hi,

unfortunately I'm no bash user either but any patch adding completion support
for more advanced shells like bash or zsh would be totally appreciated.

Since I don't know how to do it myself either, tagging this bug as "help".

Thanks!

cheers, josch

#609488#22
Date:
2019-03-12 16:24:08 UTC
From:
To:
Hi,

The following patch adds partial Bash completion support for sbuild.
In particular, it only tries to complete directories and .dsc files,
not non-.dsc files.  It doesn't add support for sbuilds options.

#609488#27
Date:
2019-12-16 11:42:26 UTC
From:
To:
Hi josch,

sbuild completion on zsh has just been merged upstream. It should come
along with 5.8.

I am not a bash user but maybe it can be used to convert to the bash syntax.

https://sourceforge.net/p/zsh/code/ci/058cc10054620a874008064cb1196f62cb9d449d/