mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-16 12:21:18 +02:00
users/1097: rehash style for external commands
This commit is contained in:
parent
4065dd5258
commit
e43a5fc8ea
3 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-06 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* users/1097: Completion/Zsh/Type/_command_names,
|
||||
Doc/Zsh/compsys.yo: rehash style for external commands.
|
||||
|
||||
2006-03-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 22318: Src/builtin.c: uniquifying special arrays was broken.
|
||||
|
@ -9,7 +14,7 @@
|
|||
* 22317: Src/builtins.c, Src/exec.c: exiting the shell from
|
||||
code forked from within a function doesn't maintain the
|
||||
exit status.
|
||||
|
||||
|
||||
* 22277, 22281 plus tweaks: Src/exec.c, Src/jobs.c, Src/signals.c,
|
||||
Test/C03traps.ztst: standardize behaviour of using wait builtin
|
||||
with trapped signals.
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
local args defs
|
||||
|
||||
zstyle -t ":completion:${curcontext}:commands" rehash && rehash
|
||||
|
||||
defs=(
|
||||
'commands:external command:compadd -k commands'
|
||||
)
|
||||
|
|
|
@ -2101,6 +2101,14 @@ expanded but only in command position. If it is set to `tt(false)',
|
|||
regular aliases will never be expanded. If it is set to `tt(always)',
|
||||
regular aliases will be expanded even if not in command position.
|
||||
)
|
||||
kindex(rehash, completion style)
|
||||
item(tt(rehash))(
|
||||
If this is set when completing external commands, the internal
|
||||
list (hash) of commands will be updated for each search by issuing
|
||||
the tt(rehash) command. There is a speed penalty for this which
|
||||
is only likely to be noticeable when directories in the path have
|
||||
slow file access.
|
||||
)
|
||||
kindex(remote-access, completion style)
|
||||
item(tt(remote-access))(
|
||||
If set to tt(false), certain commands will be prevented from making
|
||||
|
|
Loading…
Reference in a new issue