summaryrefslogtreecommitdiff
path: root/completions/mussh
diff options
context:
space:
mode:
Diffstat (limited to 'completions/mussh')
-rw-r--r--completions/mussh24
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