Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _mosh



Clint Adams <clint@xxxxxxx> 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@xxxxxxxxx>  http://chneukirchen.org



Messages sorted by: Reverse Date, Date, Thread, Author