File: cme-dpkg-patch.bash-completion

package info (click to toggle)
libconfig-model-dpkg-perl 2.122
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,852 kB
  • sloc: perl: 6,419; makefile: 63; sh: 1
file content (8 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (4)
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 ) )
}