This file is indexed.

/etc/bash_completion.d/jifty_completion.sh is in libjifty-perl 1.10518+dfsg-1ubuntu2.

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
55
#-*- mode: shell-script;-*-
#
# bash complition script for jifty 
# put this file into /etc/bash_completion.d/

have jifty &&
_jifty()
{
    local cur
    cur=${COMP_WORDS[COMP_CWORD]}

    local jifty_commands="action adopt app console env fastcgi help modperl2 model plugin po schema server"
    if (($COMP_CWORD == 1)); then
        COMPREPLY=( $( compgen -W "$jifty_commands" -- $cur ) )
        return 0
    fi

    local opts_schema="--create-database --drop-database --help --ignore-reserved-words --man --print --setup"
    local opts_server="--port"
    local opts_action="--name --force"
    local opts_model="--name --force"
    local opts_op="--js --dir --language"
    local opts_adopt="--ls"

    case "${COMP_WORDS[1]}" in 
        schema)
            COMPREPLY=( $( compgen -W "$opts_schema" -- $cur ) )
            return 0
        ;;
        server)
            COMPREPLY=( $( compgen -W "$opts_server" -- $cur ) )
            return 0
        ;;
        action)
            COMPREPLY=( $( compgen -W "$opts_action" -- $cur ) )
            return 0
        ;;
        model)
            COMPREPLY=( $( compgen -W "$opts_model" -- $cur ) )
            return 0
        ;;
        op)
            COMPREPLY=( $( compgen -W "$opts_op" -- $cur ) )
            return 0
        ;;
        adopt)
            COMPREPLY=( $( compgen -W "$opts_adopt" -- $cur ) )
            return 0
        ;;
        *)
        ;;
    esac
}

[ "$have" ] && complete -F _jifty -o default jifty