mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
[BREAKING CHANGE] Move compdefs to own directory (to ease packaging and
avoid bloating users fpath with unneeded files such as README.md)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#compdef mosh
|
||||
# ------------------------------------------------------------------------------
|
||||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for mosh (http://mosh.mit.edu).
|
||||
#
|
||||
# Source: https://gist.github.com/2242920
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
# -------
|
||||
#
|
||||
# * Ben O'Hara (https://github.com/benohara)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
|
||||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
_arguments \
|
||||
'--client=:client helper:_command_names -e' \
|
||||
'--server=:server helper:_files' \
|
||||
'--ssh=:ssh command to run:_files' \
|
||||
'(-a -n)--predict=:when:(adaptive always never)' \
|
||||
'(--predict -n)-a[predict always]' \
|
||||
'(--predict -a)-n[predict never]' \
|
||||
{-p,--port=}':port:_ports' \
|
||||
':remote:_hosts' \
|
||||
':remote command:_command_names -e'
|
||||
Reference in New Issue
Block a user