403Webshell
Server IP : 85.112.90.236  /  Your IP : 192.168.1.26
Web Server : Apache
System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64
User : ftechme ( 1002)
PHP Version : 8.2.32
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bash-completion/completions/gnome-software
# gnome-software(1) completion                             -*- shell-script -*-

_filter_completed_options()
{
	local filtered=()
	local completed_option
	local completed_words=($(compgen -W '${COMP_WORDS[@]}' -- "--"))

	for option in ${COMPREPLY[@]}
	do
	    completed_option=0

	    for completed in ${completed_words[@]}
	    do
		# acccount for --option if applicable
		if [ "${option}" == "${completed}" ]; then
		    completed_option=1
		    break
		fi

		# acccount for --option= if applicable
		if [[ "${words[@]}" =~ "${option}" && "${option}" == "${completed}=" ]]; then
		    completed_option=1
		    break
		fi
	    done

	    if [ $completed_option -eq 0 ]; then
		filtered+=($option)
	    fi
	done

	COMPREPLY=("${filtered[@]}")
}

_gnome_software()
{
	local cur prev words cword split
	_init_completion -s || return

	case $prev in
		'--mode')
			COMPREPLY=( $(compgen -W "updates updated installed overview" -- "$cur") )
			return
			;;
		'--search' | '--details' | '--details-pkg' | '--install' | '--uninstall')
			# argument required but no completions available
			return
			;;
		'--local-filename')
			_filedir
			return
			;;
		'--interaction')
			COMPREPLY=( $(compgen -W "none notify full" -- "$cur") )
			return
			;;
		'--show-metainfo')
			_filedir @(xml*(.in))
			return
			;;
		'?'|'-h'|'--help'|'--help-all'|'--help-gapplication'|'--version')
			return
			;;
	esac

	$split && return

	if [[ $cur == -* ]]; then
	    COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
	    [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
	fi

	# Don't show already completed options
	_filter_completed_options

} &&
    complete -F _gnome_software gnome-software

# ex: filetype=sh

Youez - 2016 - github.com/yon3zu
LinuXploit