Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 44b09646646d94fa17fc4757438f3cfc > files > 21

postfix-2.7.4-1.2.mga1.src.rpm

# From: Carsten Hoeger (choeger@suse.de)
# Date: Thu May 02 2002 - 14:38:06 CDT 

function _postconf_ () 
{ 
	local cmd=${COMP_WORDS[COMP_CWORD]} 
	local idx=0 
	local clen=${#cmd} 
	for pval in $(/usr/sbin/postconf | cut -d" " -f1); do 
		if [ "$cmd" == "${pval:0:$clen}" ]; then 
			COMPREPLY[$idx]=$pval 
			idx=$[$idx+1] 
		fi 
	done 
} 

complete -F _postconf_ postconf