HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/bash-completion/completions/gnome-control-center
# gnome-control-center tab completion for bash.

_gnome_control_center()
{
	local cur prev command_list i v

	cur=${COMP_WORDS[COMP_CWORD]}
	prev=${COMP_WORDS[COMP_CWORD-1]}

	case "$prev" in
	*)
		if [ $prev = "gnome-control-center" ] ; then
			command_list="--verbose --version"
			command_list="$command_list applications background camera color connectivity datetime default-apps diagnostics display info-overview keyboard location lock microphone mouse notifications online-accounts power printers region removable-media search sharing sound ubuntu universal-access usage user-accounts network wifi bluetooth thunderbolt wacom"
		elif [ $prev = "--verbose" ]; then
			command_list="applications background camera color connectivity datetime default-apps diagnostics display info-overview keyboard location lock microphone mouse notifications online-accounts power printers region removable-media search sharing sound ubuntu universal-access usage user-accounts network wifi bluetooth thunderbolt wacom"
		fi

		for i in --version applications background camera color connectivity datetime default-apps diagnostics display info-overview keyboard location lock microphone mouse notifications online-accounts power printers region removable-media search sharing sound ubuntu universal-access usage user-accounts network wifi bluetooth thunderbolt wacom; do
			if [ $i = $prev ]; then
				case $i in
				keyboard)
					command_list="shortcuts typing"
					;;
				network)
					# FIXME
					# The first 3 commands need an object path like
					# /org/freedesktop/NetworkManager/Devices/1
					command_list="connect-3g connect-8021x-wifi show-device connect-hidden-wifi create-wifi"
					;;
				sound)
					command_list="applications effects hardware input outputs"
					;;
				*)
					command_list=""
					;;
				esac
			fi
		done
		;;
	esac

	for i in $command_list; do
		if [ -z "${i/$cur*}" ]; then
			COMPREPLY=( ${COMPREPLY[@]} $i )
		fi
	done
}

# load the completion
complete -F _gnome_control_center gnome-control-center