On Mon, Oct 10, 2016 at 05:01:01PM +0100, Barak A. Pearlmutter wrote:
> Okay, I merged your NMU etc.
> One question. I didn't understand this:
> > It seems I should have added symlink in debian/rules as
> >         cd debian/fossil/usr/share/bash-completion/completions; \
> >         ln -sf fossil f
> > to make it work in the first invocation.
> and couldn't find documentation about adding such a link.
> So I skipped it, in case there was a typo or some such.
> But if you could explain, or even better send a pointer, I'd appreciate it.

In retrospective, there were better way to do this.

Anyway, please install "bash-completion".

 $ cat /usr/share/doc/bash-completion/README.Debian
 $ man dh_bash-completion

Then you get an idea of bash-completion itself.  Now I see, instead of
adding override, I should have used debian/fossil.bash-completion to
install completion.

    also see https://github.com/scop/bash-completion

Also, about symlink to "f", its undocumented but having this symlink
enables bash-completion to enable fossil completion for users who sets
alias "f".  Let's not do it.  If one sets alias, one should set
completion too.


Reply via email to