Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 273 Bytes
# netprofile completion
# $Id: bash.completion,v 1.1 2003/08/07 20:51:02 flepied Exp $
_netprofile()
{
local cur
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( command ls /etc/netprofile/profiles | grep "^$cur" ) )
}
complete -F _netprofile set-netprofile