#compdef ssh-sign _arguments '-f[keyfile]:filename:_files' '-n[namespace]:namespace:_ssh-sign_namespaces' '*:file:_files' function _ssh-sign_namespaces() { local -a namespaces=(file email git "@$(dnsdomainname)") _values "namespace" ${namespaces} }