diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2018-03-18 12:02:11 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2018-03-18 12:02:11 -0300 |
commit | 9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (patch) | |
tree | 6399b936aecc388506ec32cfc10fdb06cfc1949f /completions/ssh-keygen | |
parent | 6d88f1055806932d9291f96847d2b691cccda2cd (diff) | |
download | bash-completion-9cd22d1df8f0f5b554858471c86faa9f37b8fed4.tar.gz |
New upstream version 2.8upstream/2.8
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) |