14 lines
330 B
Plaintext
14 lines
330 B
Plaintext
#compdef ssh-sign
|
|
|
|
function _ssh-sign_namespaces()
|
|
{
|
|
local -a namespaces=(file email git "@$(dnsdomainname)")
|
|
_values "namespace" ${namespaces}
|
|
}
|
|
|
|
_arguments '-f[key file]:filename:_files' '-n[namespace]:namespace:_ssh-sign_namespaces' '-h[short help text]' '*:file:_files'
|
|
|
|
# Local Variables:
|
|
# mode: shell-script
|
|
# End:
|