summaryrefslogtreecommitdiff
path: root/contrib/ledger-completion.bash
diff options
context:
space:
mode:
authormst <mstmob@gmail.com>2021-01-16 10:44:40 +0100
committerMartin Michlmayr <tbm@cyrius.com>2021-01-17 10:14:52 +0800
commit0e19e3fe51c2c056a91af48e4733aa13a840fdaa (patch)
treed4471c3a75253a79e42181874996838beea2552f /contrib/ledger-completion.bash
parent477484a817fe1f0569acc33ae7e8ee6ec9934280 (diff)
downloadfork-ledger-0e19e3fe51c2c056a91af48e4733aa13a840fdaa.tar.gz
fork-ledger-0e19e3fe51c2c056a91af48e4733aa13a840fdaa.tar.bz2
fork-ledger-0e19e3fe51c2c056a91af48e4733aa13a840fdaa.zip
Fix contrib bash-completion
Fix shellcheck warning SC2034: command appears unused. Fix completion script if used by zsh with bashcompinit.
Diffstat (limited to 'contrib/ledger-completion.bash')
-rw-r--r--contrib/ledger-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ledger-completion.bash b/contrib/ledger-completion.bash
index 2da44274..0ef969ae 100644
--- a/contrib/ledger-completion.bash
+++ b/contrib/ledger-completion.bash
@@ -23,7 +23,7 @@
_ledger()
{
- local cur prev command options
+ local cur prev commands options
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"