Skip to content

Commit

Permalink
ssh-keygen: Add -E arg completion
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Oct 13, 2017
1 parent 1d44276 commit 3807a99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions completions/ssh-keygen
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ _ssh_keygen()
-a|-b|-C|-D|-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"
Expand Down

0 comments on commit 3807a99

Please sign in to comment.