Install shell-completion provided by hledger

Asked by Jakob Schöttl

I don't know if this is relevant as the "original package maintainers" from debian are already informed:

There is a new shell completion for hledger. It would be nice if that will be installed together with hledger.

The source code of hledger has the file shell-completion/hledger-completion.bash

It's in https://github.com/simonmichael/hledger/tree/master/shell-completion

Can this be installed into /etc/bash_completion.d or /usr/local/etc/bash_completion.d (I'm not sure how this is normally done).

Thank you!
- Jakob

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu haskell-hledger Edit question
Assignee:
No assignee Edit question
Solved by:
Jakob Schöttl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If the shell-completion files are going to be part of the standard haskell-hledger software, then these files fill - sooner or later - make it also into the Ubuntu package.
Do not expect this to happen soon. First step is that Debian incorporates this in their packages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

oops, typo,

… these files will …

Revision history for this message
Jakob Schöttl (jakob190590) said :
#3

OK - thanks!