This file is indexed.

/etc/bash_completion.d/dlocate-completion is in dlocate 1.07+nmu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Debian GNU dlocate(1) completion
#
have dlocate && {
_dlocate()
{
	local cur prev

	COMPREPLY=()
	cur=${COMP_WORDS[COMP_CWORD]}
	prev=${COMP_WORDS[COMP_CWORD-1]}

	case "$prev" in
	-S)
		_filedir
		return 0
		;;
	-@(L|l|s|ls|du|conf|lsconf|md5sum|md5check|man))
		COMPREPLY=( $( _xfunc dpkg _comp_dpkg_installed_packages "$cur" ) )
		return 0
		;;
	*)
		COMPREPLY=( $( compgen -W '-h -H -V -S -L -l -s -ls -du \
			-conf -lsconf -md5sum -md5check -man --help \
			--version' -- $cur ) )
		return 0
		;;
	esac
	
	# notreached
	return 0
}
complete -F _dlocate $filenames dlocate
}