summaryrefslogtreecommitdiff
path: root/completions/larch
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
commit95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch)
treeea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/larch
parent019f3cc463db63abc6460f97deb488deec43840b (diff)
downloadbash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/larch')
-rw-r--r--completions/larch8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/larch b/completions/larch
index 0773c2da..7ed9ca20 100644
--- a/completions/larch
+++ b/completions/larch
@@ -6,8 +6,8 @@ _larch()
local cur prev words cword
_init_completion || return
- if [[ $cword -eq 1 || "$prev" == -* ]]; then
- COMPREPLY=( $(compgen -W ' \
+ if [[ $cword -eq 1 || $prev == -* ]]; then
+ COMPREPLY=($(compgen -W ' \
my-id my-default-archive register-archive whereis-archive archives \
init-tree tree-root tree-version set-tree-version inventory \
tagging-method tree-lint missing-tags add delete \
@@ -30,10 +30,10 @@ _larch()
distribution-name notify my-notifier mail-new-categories \
mail-new-branches mail-new-versions mail-new-revisions \
notify-library notify-browser push-new-revisions sendmail-mailx' \
- "$cur") )
+ "$cur"))
fi
} &&
-complete -F _larch -o default larch
+ complete -F _larch -o default larch
# ex: filetype=sh