summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/User/_ssh2
-rw-r--r--Doc/Zsh/compsys.yo8
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f826cfff..5e652b1e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2000-06-28  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* Jan Fedak: 12097: Completion/Use/_ssh: use _ports when
+	completing remote ports
+
+	* Andrej: 12094: Doc/Zsh/compsys.yo: a bit of cleanup
+
 	* 12099: Completion/Core/_oldlist: make _oldlist not use the dummy
  	match added for the warning
 	
diff --git a/Completion/User/_ssh b/Completion/User/_ssh
index 304a43554..a52de5681 100644
--- a/Completion/User/_ssh
+++ b/Completion/User/_ssh
@@ -36,7 +36,7 @@ _ssh () {
       '-n[redirect stdin from /dev/null]' \
       '-N[do not execute a remote command. (protocol version 2 only)]'\
       '*-o[specify extra options]:option string:->option' \
-      '-p[specify port on remote host]:port number on remote host:' \
+      '-p[specify port on remote host]:port number on remote host:_ports' \
       '-P[use non priviledged port]' \
       '-q[quiet operation]' \
       '-t[force pseudo-tty allocation]' \
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index ff6dd1fce..433df4807 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -69,15 +69,15 @@ directory mentioned in the tt($fpath) variable, and should be autoloaded
 (`tt(autoload -U compinit)' is recommended), and then run simply as
 `tt(compinit)'.  This will define a
 few utility functions, arrange for all the necessary shell functions to be
-autoloaded, and will then re-bind all keys that do completion to use the
+autoloaded, and will then re-define all widgets that do completion to use the
 new system.  If you use the tt(menu-select) widget, which is part of the
 tt(zsh/complist) module, you should make sure that that module is loaded
 before the call to tt(compinit) to make sure that that widget is also
-re-bound.
+re-defined.
 
 Should you need to use the original completion commands, you can still
-bind keys to the old functions by putting a `tt(.)' in front of the
-command name, e.g. `tt(.expand-or-complete)'.
+bind keys to the old widgets by putting a `tt(.)' in front of the
+widget name, e.g. `tt(.expand-or-complete)'.
 
 To speed up the running of tt(compinit), it can be made to produce a dumped
 configuration which will be read in on future invocations; this is the