Commit Graph

8 Commits

Author SHA1 Message Date
Jakob Schöttl
7bf71e709c Bugfix: long options must start with a letter 2019-02-16 06:52:21 -08:00
Jakob Schöttl
ea21d45d3f Make completions work for hledger-* 2019-02-16 06:52:21 -08:00
Jakob Schöttl
966d949807 Update completion 2019-02-16 06:52:21 -08:00
Jakob Schöttl
f989d6124d Update bash completion script
This removes duplicate options from the completion, does not list -h as
command anymore, and adds the latest options (i.e. register --invert).
2019-02-16 06:52:21 -08:00
Jakob Schöttl
3f407a326d Add completions for query filters 2019-01-23 16:46:17 -08:00
Jakob Schöttl
f19eb04e8d Update completion script artifact 2019-01-23 16:46:17 -08:00
Jakob Schöttl
65ec51c3d9 Apply naming convention for function and variable name
It seems to be convention to start the completion function name with an
underscore. I also prepend an underscore to the global variable.

(I still don't understand why  env  does not show this global variable
defined in the hledger-completion.bash script.)
2019-01-23 16:46:17 -08:00
Jakob Schöttl
84eaf20f9b Add bash completion script (an artifact) 2019-01-23 16:46:17 -08:00