1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-27 06:11:06 +02:00
This commit is contained in:
Sven Wischnowsky 2000-06-28 09:08:03 +00:00
parent f4a09871b0
commit fde669f76d
3 changed files with 10 additions and 5 deletions

View file

@ -1,5 +1,10 @@
2000-06-28 Sven Wischnowsky <wischnow@zsh.org> 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 * 12099: Completion/Core/_oldlist: make _oldlist not use the dummy
match added for the warning match added for the warning

View file

@ -36,7 +36,7 @@ _ssh () {
'-n[redirect stdin from /dev/null]' \ '-n[redirect stdin from /dev/null]' \
'-N[do not execute a remote command. (protocol version 2 only)]'\ '-N[do not execute a remote command. (protocol version 2 only)]'\
'*-o[specify extra options]:option string:->option' \ '*-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]' \ '-P[use non priviledged port]' \
'-q[quiet operation]' \ '-q[quiet operation]' \
'-t[force pseudo-tty allocation]' \ '-t[force pseudo-tty allocation]' \

View file

@ -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(autoload -U compinit)' is recommended), and then run simply as
`tt(compinit)'. This will define a `tt(compinit)'. This will define a
few utility functions, arrange for all the necessary shell functions to be 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 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 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 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 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 bind keys to the old widgets by putting a `tt(.)' in front of the
command name, e.g. `tt(.expand-or-complete)'. widget name, e.g. `tt(.expand-or-complete)'.
To speed up the running of tt(compinit), it can be made to produce a dumped 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 configuration which will be read in on future invocations; this is the