/usr/share/yash/completion/gitx is in yash 2.35-2.
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 | # (C) 2011 magicant
# Completion script for the "gitx" command.
# Supports GitX 0.7.
function completion/gitx {
typeset OPTIONS ARGOPT PREFIX
OPTIONS=( #>#
"--bisect; show commits between good and bad only"
"c --commit; start in the commit mode"
"h --help; print help"
) #<#
if command -vf completion/git >/dev/null 2>&1 ||
. -AL completion/git; then
if command -vf completion/git::rev-list:getopt >/dev/null 2>&1 ||
. -AL completion/git-rev-list; then
command -f completion/git::rev-list:getopt
fi
fi
command -f completion//parseoptions -n
case $ARGOPT in
(-)
command -f completion//completeoptions
;;
('')
command -f completion/git::completerefpath range=true
;;
(*)
command -f completion/git::rev-list:compopt
;;
esac
}
# vim: set ft=sh ts=8 sts=8 sw=8 noet:
|