summaryrefslogtreecommitdiff
path: root/debian/bash_completion/contrib/larch
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-12 13:13:20 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-14 16:16:47 -0800
commitfc7695ee76400ee9833301f98a3fe483d64591b5 (patch)
tree15b568f5adfa956817cf9f5a1652c43d33d8efa9 /debian/bash_completion/contrib/larch
parentb7fc9e0f6d6105ba2203f219743d4b269415e84b (diff)
downloadvyatta-bash-fc7695ee76400ee9833301f98a3fe483d64591b5.tar.gz
vyatta-bash-fc7695ee76400ee9833301f98a3fe483d64591b5.zip
initial import from bash_3.1dfsg-8.diff.gzupstream
Diffstat (limited to 'debian/bash_completion/contrib/larch')
-rw-r--r--debian/bash_completion/contrib/larch38
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/bash_completion/contrib/larch b/debian/bash_completion/contrib/larch
new file mode 100644
index 0000000..60ab6e9
--- /dev/null
+++ b/debian/bash_completion/contrib/larch
@@ -0,0 +1,38 @@
+# larch(1) completion by Alex Shinn <foof@synthcode.com>
+#
+# $Id: larch,v 1.2 2003/12/31 08:22:37 ianmacd Exp $
+
+_larch()
+{
+ local cur prev
+
+ COMPREPLY=()
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ if [ $COMP_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 move explicit-default set-manifest \
+manifest check-manifest mkpatch dopatch patch-report empty-patch \
+make-archive make-category make-branch make-version categories \
+branches versions revisions cat-archive-log archive-cache-revision \
+archive-cached-revisions archive-uncache-revision category-readme \
+branch-readme version-readme make-log logs add-log log-ls cat-log \
+log-header-field changelog log-for-merge merge-points new-on-branch \
+import commit get get-patch lock-branch lock-revision push-mirror \
+build-config update-config replay-config record-config show-config \
+config-history update replay delta-patch star-merge tag prepare-branch \
+finish-branch join-branch whats-missing what-changed file-diffs pristines \
+lock-pristine my-revision-library library-find library-add library-remove \
+library-archives library-categories library-branches library-versions \
+library-revisions library-log library-file touched-files-prereqs \
+patch-set-web update-distributions 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 ))
+ fi
+
+ return 0
+}
+complete -F _larch -o default larch