about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cssh21
2 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 89a740e48..7ab600179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-09  Clint Adams  <clint@zsh.org>
+
+	* 22543: Completion/Unix/Command/_cssh: completion for
+	clusterssh.
+
 2006-07-09  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 22542: Src/parse.c, Src/prompt.c, Src/zsh.h: 22516 was
diff --git a/Completion/Unix/Command/_cssh b/Completion/Unix/Command/_cssh
new file mode 100644
index 000000000..5db9db5b0
--- /dev/null
+++ b/Completion/Unix/Command/_cssh
@@ -0,0 +1,21 @@
+#compdef cssh crsh
+
+_arguments \
+  '-h[help]' \
+  '-H[show man page]' \
+  '-v[show version]' \
+  '-d[enable basic debugging mode]' \
+  '-D[enable extended debugging mode]' \
+  '-q[enable automatic quit after last window is closed]' \
+  '-Q[disable automatic quit after last window is closed]' \
+  '-u[output configuration]' \
+  '-g[enable window tiling]' \
+  '-G[disable window tiling]' \
+  '-c[use additional cluster file]:cluster file:_files' \
+  '-l:username:_users' \
+  '-T:window title prefix:' \
+  '-o:arguments to ssh or rsh:' \
+  '-t:arguments to terminals:' \
+  '-i[ignore errors from unresolvable hostnames]' \
+  '-e[evaluate arguments to identify potential errors]:userhostport:_user_at_host' \
+  '*:userhostport: _alternative hosts:host:_hosts usersathosts:userathost:_user_at_host'