This file is indexed.

/usr/share/bash-completion/completions/ufo-launch is in libufo-bin 0.13.0-1.

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
#!/bin/bash

_ufo_launch() 
{
    local cur prev opts tasks
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts="--progress --trace --time --address --dump"
    tasks="$(ufo-query -l)"

    if [[ "${tasks}" == *"${prev}"* ]]; then
        COMPREPLY=( $(compgen -W "$(ufo-query -p ${prev} 2> /dev/null)" -- ${cur}) )
        return 0
    fi
    
    if [[ ${cur} == -* ]] ; then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
        return 0
    else
        COMPREPLY=( $(compgen -W "${tasks}" -- ${cur}) )
        return 0
    fi
}

complete -F _ufo_launch ufo-launch