updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ipe / ipe.bash-completion
blob6ccc11e019885a1bf26ba5aed5bd7bb9af540738
1 have ipe &&
2 _ipe()
4     local cur xspec
6     COMPREPLY=()
7     _get_comp_words_by_ref cur
8     
9     xspec="!*.@(ipe|pdf|eps)"
11     _expand || return 0
13     COMPREPLY=( $( compgen -f -X "$xspec" -- "$cur" ) \
14         $( compgen -d -- "$cur" ) )
15 } &&
16 complete -F _ipe -o filenames ipe