File: cme-dpkg-patch.bash-completion

package info (click to toggle)
libconfig-model-dpkg-perl 2.090
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,608 kB
  • ctags: 130
  • sloc: perl: 5,484; makefile: 33
file content (8 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
# cme(1) completion for dpkg-patch model
# the file must be delivered with a name beginning with cme- so that it can
# be picked up by cme bash completion file

_cme_dpkg-patch()
{
    COMPREPLY=( $( cd debian/patches ; compgen -o filenames -G "$cur*" -W '~~ -' -- $cur | grep -v series ) )
}