summaryrefslogtreecommitdiff
path: root/completions/larch
diff options
context:
space:
mode:
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