summaryrefslogtreecommitdiffstats
path: root/completions/sshmitm
blob: 136d2f989e62a467d42ec28ddeec9138e86dfff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# sshmitm completion                                       -*- shell-script -*-

_comp_cmd_sshmitm()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    if [[ $cur == -* ]]; then
        _comp_compgen_usage
    else
        _comp_compgen_known_hosts -- "$cur"
    fi

} &&
    complete -F _comp_cmd_sshmitm sshmitm

# ex: filetype=sh