diff options
Diffstat (limited to 'completions/ssh-keygen')
| -rw-r--r-- | completions/ssh-keygen | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/completions/ssh-keygen b/completions/ssh-keygen index f72b9aa2..d1eafa9e 100644 --- a/completions/ssh-keygen +++ b/completions/ssh-keygen @@ -6,12 +6,20 @@ _ssh_keygen() _init_completion -n = || return case $prev in - -a|-b|-C|-D|-I|-J|-j|-M|-N|-n|-r|-P|-S|-V|-W|-z) + -a|-b|-C|-I|-J|-j|-M|-N|-n|-r|-P|-S|-V|-W|-z) + return + ;; + -E) + COMPREPLY=( $( compgen -W 'md5 sha256' -- "$cur" ) ) return ;; -F|-R) # TODO: trim this down to actual entries in known hosts files - _known_hosts_real "$cur" + _known_hosts_real -- "$cur" + return + ;; + -D) + _filedir so return ;; -f|-G|-K|-s|-T) |
