home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / bash / completion-contrib / larch < prev    next >
Encoding:
Text File  |  2006-08-28  |  1.8 KB  |  39 lines

  1. # larch(1) completion by Alex Shinn <foof@synthcode.com>
  2. #
  3. # $Id: larch,v 1.2 2003/12/31 08:22:37 ianmacd Exp $
  4.  
  5. _larch()
  6. {
  7.     local cur prev
  8.  
  9.     COMPREPLY=()
  10.     cur=${COMP_WORDS[COMP_CWORD]}
  11.     prev=${COMP_WORDS[COMP_CWORD-1]}
  12.  
  13.     if [ $COMP_CWORD -eq 1 ] || [[ "$prev" == -* ]]; then
  14.         COMPREPLY=( $( compgen -W ' \
  15. my-id my-default-archive register-archive whereis-archive archives          \
  16. init-tree tree-root tree-version set-tree-version inventory tagging-method  \
  17. tree-lint missing-tags add delete move explicit-default set-manifest        \
  18. manifest check-manifest mkpatch dopatch patch-report empty-patch            \
  19. make-archive make-category make-branch make-version categories              \
  20. branches versions revisions cat-archive-log archive-cache-revision          \
  21. archive-cached-revisions archive-uncache-revision category-readme           \
  22. branch-readme version-readme make-log logs add-log log-ls cat-log           \
  23. log-header-field changelog log-for-merge merge-points new-on-branch         \
  24. import commit get get-patch lock-branch lock-revision push-mirror           \
  25. build-config update-config replay-config record-config show-config          \
  26. config-history update replay delta-patch star-merge tag prepare-branch      \
  27. finish-branch join-branch whats-missing what-changed file-diffs pristines   \
  28. lock-pristine my-revision-library library-find library-add library-remove   \
  29. library-archives library-categories library-branches library-versions       \
  30. library-revisions library-log library-file touched-files-prereqs            \
  31. patch-set-web update-distributions distribution-name notify my-notifier     \
  32. mail-new-categories mail-new-branches mail-new-versions mail-new-revisions  \
  33. notify-library notify-browser push-new-revisions sendmail-mailx' $cur ))
  34.     fi
  35.  
  36.     return 0
  37. }
  38. complete -F _larch -o default larch
  39.