This file is indexed.

/etc/bash_completion.d/unison-gtk/unison-gtk.completion.bash is in unison-gtk 2.40.102-2ubuntu1.

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
_unison_2_40_102_gtk() {
  local cur profiles

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

  # Get option with unison -help | grep "^  -" | cut -f 3 -d " "

  if [[ "$cur" == -* ]]; then
      COMPREPLY=( $( compgen -W '-addprefsto -addversionno -auto -backup \
      -backupcurrent -backupcurrentnot -backupdir -backuplocation -backupnot \
      -backupprefix -backups -backupsuffix -batch -confirmbigdeletes \
      -confirmmerge -contactquietly -debug -doc -dumbtty -fastcheck -follow \
      -force -forcepartial -group -height -host -ignore -ignorecase \
      -ignorelocks -ignorenot -immutable -immutablenot -key -killserver -label \
      -log -logfile -maxbackups -maxthreads -merge -mountpoint -numericids \
      -owner -path -perms -prefer -preferpartial -pretendwin -repeat -retry \
      -root -rootalias -rsrc -rsync -selftest -servercmd -showarchive -silent \
      -socket -sortbysize -sortfirst -sortlast -sortnewfirst -sshargs -sshcmd \
      -terse -testserver -times -ui -version -xferbycopying' -- "$cur" ) )
    else
      if [ -d $HOME/.unison ]; then
        for i in $HOME/.unison/*.prf; do
          if test -e $i; then
            profiles="$profiles $(basename ${i%.prf})"
          fi
        done
      fi
      COMPREPLY=( $( compgen -W '$profiles' -- $cur ) );
    fi

    return 0
}

complete -o plusdirs -F _unison_2_40_102_gtk unison-2.40.102-gtk