ssh-add, ssh-keygen: -? needs to be quoted under failglob (take 2) (Alioth: #314709)
parent
c6ec8f979b
commit
60b8fabec4
|
@ -12,7 +12,7 @@ _ssh_add()
|
|||
esac
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ _ssh_keygen()
|
|||
esac
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-?" )' -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
|
||||
fi
|
||||
} &&
|
||||
complete -F _ssh_keygen ssh-keygen
|
||||
|
|
Loading…
Reference in New Issue