diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
commit | 95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch) | |
tree | ea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /completions/mussh | |
parent | 019f3cc463db63abc6460f97deb488deec43840b (diff) | |
download | bash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz |
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'completions/mussh')
-rw-r--r-- | completions/mussh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/completions/mussh b/completions/mussh index e76817c7..c2f7a522 100644 --- a/completions/mussh +++ b/completions/mussh @@ -6,47 +6,47 @@ _mussh() _init_completion || return case $prev in - --help|-V|-m|-t) + --help | -V | -m | -t) return ;; -d) - COMPREPLY=( $(compgen -W '{0..2}' -- "$cur") ) + COMPREPLY=($(compgen -W '{0..2}' -- "$cur")) return ;; -v) - COMPREPLY=( $(compgen -W '{0..3}' -- "$cur") ) + COMPREPLY=($(compgen -W '{0..3}' -- "$cur")) return ;; - -i|-H|-C) + -i | -H | -C) _filedir return ;; - -o|-po) + -o | -po) _xfunc ssh _ssh_options return ;; - -l|-L) - COMPREPLY=( $(compgen -u -- "$cur") ) + -l | -L) + COMPREPLY=($(compgen -u -- "$cur")) return ;; -s) _shells return ;; - -p|-h) + -p | -h) [[ $cur == *@* ]] && _user_at_host || _known_hosts_real -a -- "$cur" return ;; -c) compopt -o filenames - COMPREPLY+=( $(compgen -c -- "$cur") ) + COMPREPLY+=($(compgen -c -- "$cur")) return ;; esac - [[ $cur != -* ]] || \ - COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") ) + [[ $cur != -* ]] || + COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur")) } && -complete -F _mussh mussh + complete -F _mussh mussh # ex: filetype=sh |