From 5638c89f533a1fce3d4481b855becb769fe0b3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Sch=C3=B6ttl?= Date: Sat, 12 Jan 2019 00:09:48 +0100 Subject: [PATCH] Update README and .gitignore --- shell-completion/.gitignore | 1 - shell-completion/README.md | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/shell-completion/.gitignore b/shell-completion/.gitignore index 4cb56fca7..2211df63d 100644 --- a/shell-completion/.gitignore +++ b/shell-completion/.gitignore @@ -1,2 +1 @@ *.txt -hledger-completion.bash diff --git a/shell-completion/README.md b/shell-completion/README.md index 3191bbd42..fc6d64db6 100644 --- a/shell-completion/README.md +++ b/shell-completion/README.md @@ -15,7 +15,7 @@ The completions can handle hledger's CLI: - commands and generic options - command-specific options -- account names (but not yet for files named by --file) +- account names from journal files (but not yet for files named by --file) - filenames for options that take a filename as argument Installation @@ -33,7 +33,7 @@ Hint: GNU make, GNU m4, and GNU parallel must be installed to call `make`. The first two usually are. Then, the generated completion script must be installed. TBD. -For now, you can use this two commands: +For now, you can use these two commands: ``` cp hledger-completion.bash ~/.hledger-completion.bash @@ -50,7 +50,7 @@ again to complete it. Background ---------- -The Bash completion script is generated (GNU make) by parsing output of hledger, -hledger -h, and hledger -h. The script also uses hledger accounts for +The Bash completion script is generated (GNU make) by parsing output of `hledger`, +`hledger -h`, and `hledger -h`. The script also uses `hledger accounts` for account name completion. I propose that the Makefile is not run at every built but rather manually when the CLI changes.