zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _mosh
@ 2012-06-08 23:42 Clint Adams
  2012-06-09 20:07 ` Christian Neukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2012-06-08 23:42 UTC (permalink / raw)
  To: zsh-workers

Index: Completion/Unix/Command/_mosh
===================================================================
RCS file: Completion/Unix/Command/_mosh
diff -N Completion/Unix/Command/_mosh
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_mosh	8 Jun 2012 23:40:27 -0000
@@ -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'


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: _mosh
  2012-06-08 23:42 PATCH: _mosh Clint Adams
@ 2012-06-09 20:07 ` Christian Neukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Neukirchen @ 2012-06-09 20:07 UTC (permalink / raw)
  To: zsh-workers

Clint Adams <clint@zsh.org> writes:

> Index: Completion/Unix/Command/_mosh
> ===================================================================
> RCS file: Completion/Unix/Command/_mosh
> diff -N Completion/Unix/Command/_mosh
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ Completion/Unix/Command/_mosh	8 Jun 2012 23:40:27 -0000
> @@ -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'

Thank you for writing this one, would it be hard to allow user@host too?

-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-09 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 23:42 PATCH: _mosh Clint Adams
2012-06-09 20:07 ` Christian Neukirchen

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).