Update README and .gitignore
This commit is contained in:
parent
e747b9fa8c
commit
5638c89f53
1
shell-completion/.gitignore
vendored
1
shell-completion/.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
*.txt
|
*.txt
|
||||||
hledger-completion.bash
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ The completions can handle hledger's CLI:
|
|||||||
|
|
||||||
- commands and generic options
|
- commands and generic options
|
||||||
- command-specific 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
|
- filenames for options that take a filename as argument
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
@ -33,7 +33,7 @@ Hint: GNU make, GNU m4, and GNU parallel must be installed to call `make`.
|
|||||||
The first two usually are.
|
The first two usually are.
|
||||||
|
|
||||||
Then, the generated completion script must be installed. TBD.
|
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
|
cp hledger-completion.bash ~/.hledger-completion.bash
|
||||||
@ -50,7 +50,7 @@ again to complete it.
|
|||||||
Background
|
Background
|
||||||
----------
|
----------
|
||||||
|
|
||||||
The Bash completion script is generated (GNU make) by parsing output of hledger,
|
The Bash completion script is generated (GNU make) by parsing output of `hledger`,
|
||||||
hledger -h, and hledger <cmd> -h. The script also uses hledger accounts for
|
`hledger -h`, and `hledger <cmd> -h`. The script also uses `hledger accounts` for
|
||||||
account name completion. I propose that the Makefile is not run at every built
|
account name completion. I propose that the Makefile is not run at every built
|
||||||
but rather manually when the CLI changes.
|
but rather manually when the CLI changes.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user