summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2012-06-10 03:35:51 +0000
committerClint Adams <clint@users.sourceforge.net>2012-06-10 03:35:51 +0000
commitf9257b66c87830fbdc271a09f1ccb3f5f01c7927 (patch)
tree257d5170fcd7fd5bfa6e783588fddbf617a17e53 /Completion/Unix
parent02a3fc7271f225faceded48cc404fe1016d74c0f (diff)
downloadzsh-f9257b66c87830fbdc271a09f1ccb3f5f01c7927.tar.gz
zsh-f9257b66c87830fbdc271a09f1ccb3f5f01c7927.tar.xz
zsh-f9257b66c87830fbdc271a09f1ccb3f5f01c7927.zip
30503: rudimentary completion for mosh.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_mosh12
1 files changed, 12 insertions, 0 deletions
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'