#autoload

# cast --url
# summon --url

if [[ ${words[$(( $CURRENT-1 ))]} == --url ]]; then
  if [[ -prefix 1 (svn|svn_ssh|file|dir|cvs|rsync|smgl_tla|svn_http|svn_https|git|git_http|git_local|ftp|http|hg_http):// ]]; then
    _urls -f && ret=0
  else
    compadd -S '' ftp:// http:// svn:// svn_ssh:// file:// dir:// cvs:// rsync:// smgl_tla:// svn_http:// svn_https:// git:// git_http:// git_local:// hg_http://
  fi
else
    _spells
fi

