Commit Graph

8 Commits

Author SHA1 Message Date
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
e491f34ddf Bugfix and remove unused code
Bug was: Account names with spaces were broken into single completion
suggestions, not line by line.
2019-01-23 16:46:17 -08:00
Jakob Schöttl
90257a1729 Fix comments 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e747b9fa8c Remove useless case 2019-01-23 16:46:17 -08:00
Jakob Schöttl
637ab8855d Bugfix for --file=... case 2019-01-23 16:46:17 -08:00
Jakob Schöttl
1cd979ae18 Bugfix: Must use array here because of word splitting 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e3826be379 Cosmetic changes 2019-01-23 16:46:17 -08:00
Jakob Schöttl
dc73b55b7b Add files for bash completion 2019-01-23 16:46:17 -08:00