~ubuntu-branches/ubuntu/raring/bedtools/raring

« back to all changes in this revision

Viewing changes to debian/bash_completion/bedtools

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2012-11-04 17:59:41 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20121104175941-hahqzy1w8uy650z0
Tags: 2.17.0-1
bb9012e Imported Upstream version 2.16.2.
9006b23 Imported Upstream version 2.17.0.
9112569 Documented BEDTools license as a whole.
325689c Removed Pre-Depends: dpkg (>= 1.15.6).
a781b14 Conforms with Policy 3.9.4.
84b1167 Use Debhelper 9. 
0bf572d Distribute the test suite.
422cd34 Bash completion for BEDTools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
_bedtools()
 
2
{
 
3
  local cur prev opts
 
4
  COMPREPLY=()
 
5
  cur="${COMP_WORDS[COMP_CWORD]}"
 
6
  prev="${COMP_WORDS[COMP_CWORD-1]}"
 
7
 
 
8
  opts="intersect window closest coverage map genomecov merge cluster
 
9
        complement subtract slop flank sort random shuffle annotate multiinter
 
10
        unionbedg pairtobed pairtopair bamtobed bedtobam bamtofastq bedpetobam
 
11
        bed12tobed6 getfasta maskfasta nuc multicov tag jaccard overlap igv
 
12
        links makewindows groupby expand"
 
13
 
 
14
  case $prev in
 
15
      bedtools)
 
16
          COMPREPLY=( $(compgen -f -W "${opts}" -- "$cur") )
 
17
          ;;
 
18
  esac
 
19
  return 0
 
20
}
 
21
complete -F _bedtools -o default bedtools