/usr/share/bash-completion/completions/bwrap is in bubblewrap 0.2.1-1ubuntu0.1.
This file is owned by root:root, with mode 0o755.
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 56 57 58 59 60 61 62 63 64 | #!/bin/bash
#
# bash completion file for bubblewrap commands
#
_bwrap() {
local cur prev words cword
_init_completion || return
local boolean_options="
--as-pid-1
--help
--new-session
--unshare-cgroup
--unshare-cgroup-try
--unshare-user
--unshare-user-try
--unshare-all
--unshare-ipc
--unshare-net
--unshare-pid
--unshare-uts
--version
"
local options_with_args="
$boolean_optons
--args
--bind
--bind-data
--block-fd
--cap-add
--cap-drop
--chdir
--dev
--dev-bind
--die-with-parent
--dir
--exec-label
--file
--file-label
--gid
--hostname
--info-fd
--lock-file
--proc
--remount-ro
--ro-bind
--seccomp
--setenv
--symlink
--sync-fd
--uid
--unsetenv
--userns-block-fd
"
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W "$boolean_options $options_with_args" -- "$cur" ) )
fi
return 0
}
complete -F _bwrap bwrap
|