#autoload

# cast --url
# summon --url

if [[ ${words[$(( $CURRENT-1 ))]} == --url ]]; then
    if [[ -prefix 1 (f|ht)tp:// ]]; then
	_urls -f && ret=0
    else
	compadd -S '' ftp:// http://
    fi
else
    _spells
fi

