This file is indexed.

/usr/share/fish/completions/cabal.fish is in fish-common 2.4.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
function __fish_complete_cabal
        if type -q -f cabal
                set cmd (commandline -poc)
                if test (count $cmd) -gt 1
                        cabal $cmd[2..-1] --list-options
                else
                        cabal --list-options
                end
        end
end

complete -c cabal -a '(__fish_complete_cabal)'