mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-22 00:21:27 +01:00
24570: don't attempt to pre-filter $commands on $PREFIX, just let compadd
deal with it.
This commit is contained in:
parent
b784aad67a
commit
9728d35cc2
2 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,12 @@
|
|||
* 24572: Doc/Zsh/calsys.yo, Functions/Calendar/calendar_add:
|
||||
add style reformate-date.
|
||||
|
||||
2008-02-19 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 24570: Completion/Unix/Type/_path_commands: don't attempt to
|
||||
pre-filter $commands on $PREFIX, just let compadd deal with it.
|
||||
Fixes a bad interaction with the _approximate completer.
|
||||
|
||||
2008-02-17 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* users/12600: Src/builtin.c: reorder handling of -s/-d/-t options
|
||||
|
|
|
@ -52,7 +52,7 @@ fi
|
|||
if [[ -n $need_desc ]]; then
|
||||
typeset -a dcmds descs cmds
|
||||
local desc cmd sep
|
||||
for cmd in ${(@)commands[(I)$PREFIX*]}; do
|
||||
for cmd in ${(k)commands}; do
|
||||
desc=$_command_descriptions[$cmd]
|
||||
if [[ -z $desc ]]; then
|
||||
cmds+=$cmd
|
||||
|
|
Loading…
Reference in a new issue