PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/bash_completion_lib/complete -o filenames/composite

http://github.com/brinkman83/bashrc
#! | 34 lines | 27 code | 7 blank | 0 comment | 0 complexity | 970d2fba564925e1dfd5f310fd368c92 MD5 | raw file
 1comp_include _filedir _get_cword _ImageMagick
 2
 3
 4_composite()
 5{
 6    local cur
 7
 8    COMPREPLY=()
 9    cur=`_get_cword`
10
11    _ImageMagick
12
13    if [[ "$cur" == -* ]]; then
14        COMPREPLY=( $( compgen -W '-affine -authenticate \
15            -blue-primary -colors -colorspace -comment -compose \
16            -compress -debug -density -depth -displace -display \
17            -dispose -dissolve -dither -encoding -endian -extract \
18            -filter -font -geometry -gravity -green-primary -help \
19            -interlace -label -limit -log -matte -monochrome \
20            -negate -page -profile -quality -red-primary -rotate \
21            -resize -sampling-factor -scene -sharpen -size \
22            -stegano -stereo -thumbnail -tile -transform \
23            -treedepth -type -units -unsharp -verbose -version \
24            -virtual-pixel -watermark -white-point -write' \
25            -- $cur ) )
26    elif [[ "$cur" == +* ]]; then
27        COMPREPLY=( $( compgen -W '+compress +debug +dither +endian +label \
28            +matte +negate +page +write' -- $cur ) ) 
29    else
30        _filedir
31    fi
32} # _composite()
33
34