From f9257b66c87830fbdc271a09f1ccb3f5f01c7927 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 10 Jun 2012 03:35:51 +0000 Subject: 30503: rudimentary completion for mosh. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_mosh | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Completion/Unix/Command/_mosh diff --git a/ChangeLog b/ChangeLog index fce20a3d9..bd0d71f14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-10 Clint Adams + + * 30503: Completion/Unix/Command/_mosh: rudimentary + completion for mosh. + 2012-06-10 Mikael Magnusson * 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 $ ***************************************************** diff --git a/Completion/Unix/Command/_mosh b/Completion/Unix/Command/_mosh new file mode 100644 index 000000000..c940f9015 --- /dev/null +++ b/Completion/Unix/Command/_mosh @@ -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' -- cgit 1.4.1