2022-04-08 20:11:49 +02:00
|
|
|
#compdef ssh-sign
|
|
|
|
|
2022-04-10 03:16:40 +02:00
|
|
|
_arguments '-f[key file]:filename:_files' '-n[namespace]:namespace:_ssh-sign_namespaces' '-h[short help text]' '*:file:_files'
|
2022-04-08 20:11:49 +02:00
|
|
|
|
|
|
|
function _ssh-sign_namespaces()
|
|
|
|
{
|
|
|
|
local -a namespaces=(file email git "@$(dnsdomainname)")
|
|
|
|
_values "namespace" ${namespaces}
|
|
|
|
}
|
2022-04-08 22:26:12 +02:00
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# mode: shell-script
|
|
|
|
# End:
|