mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 05:31:19 +02:00
misc
This commit is contained in:
parent
f4a09871b0
commit
fde669f76d
3 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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]' \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue