This file is indexed.

/usr/share/bash-completion/completions/chocolate-strife is in chocolate-doom 3.0.0-4.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# bash completion for Chocolate Strife             -*- shell-script -*-

_chocolate_strife()
{
    local cur prev words cword
    _init_completion || return

    # Save the previous switch on the command line in the prevsw variable
    local i prevsw=""
    for (( i=1; $cword > 1 && i <= $cword; i++ )); do
        if [[ ${words[i]} == -* ]]; then
            prevsw=${words[i]}
        fi
    done

    # Allow adding more than one file with the same extension to the same switch
    case $prevsw in
        -config|-extraconfig)
            _filedir cfg
            ;;
        -file|-iwad|-aa|-af|-as|-merge|-nwtmerge)
            _filedir wad
            ;;
        -playdemo|-timedemo)
            _filedir lmp
            ;;
        -deh)
            _filedir seh
            ;;
    esac

    case $prev in
        -gameversion)
            COMPREPLY=(1.2 1.31)
            ;;
        -setmem)
            COMPREPLY=(dos622 dos71 dosbox)
            ;;
    esac

    if [[ $cur == -* ]]; then
        COMPREPLY=( $( compgen -W '-cdrom -config -devparm -dumpsubstconfig -extraconfig -fast -file -flip -iwad -loadgame -mb -mmap -nograph -nomonsters -nomusic -nosfx -nosound -novoice -random -respawn -savedir -skill -turbo -warp -work
-donut -gameversion -setmem -spechit
-maxdemo -playdemo -record -solo-net -strictdemos -timedemo
-1 -2 -3 -fullscreen -geometry -height -noblit -nodraw -nograbmouse -nomouse -width -window
-altdeath -autojoin -avg -connect -dedicated -dup -extratics -left -localsearch -newsync -nodes -port -privateserver -query -right -search -server -servername -solo-net -timer
-aa -af -as -deh -merge -nocheats -nwtmerge
' -- "$cur" ) )
    fi
} &&

complete -F _chocolate_strife chocolate-strife

# ex: ts=4 sw=4 et filetype=sh