/usr/share/doc/python-optcomplete/examples/bashrc is in python-optcomplete 1.2-13.
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 | #!/bin/sh
#
# $Id: bashrc,v 1.5 2004/01/28 05:30:12 blais Exp $
# $Source: /u/blais/cvsroot/optcomplete/etc/bashrc,v $
#
# Bash configuration for this project.
#
# source the optcomplete shell functions.
. $PROJDIR/etc/optcomplete.bash
# Make bash invoke optcomplete completion for the test programs.
complete -F _optcomplete optcomplete-simple
complete -F _optcomplete optcomplete-conditional
complete -F _optcomplete optcomplete-commands
|