mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 06:20:55 +01:00
30503: rudimentary completion for mosh.
This commit is contained in:
parent
02a3fc7271
commit
f9257b66c8
2 changed files with 18 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-06-10 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 30503: Completion/Unix/Command/_mosh: rudimentary
|
||||
completion for mosh.
|
||||
|
||||
2012-06-10 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* Jeremy Mates: 30505: Completion/Unix/Command/_wget: Allow
|
||||
|
|
@ -16350,5 +16355,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5665 $
|
||||
* $Revision: 1.5666 $
|
||||
*****************************************************
|
||||
|
|
|
|||
12
Completion/Unix/Command/_mosh
Normal file
12
Completion/Unix/Command/_mosh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#compdef mosh
|
||||
|
||||
_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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue