mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
slight improvement for 16500 to allow completion after ./<TAB> in all cases (16507)
This commit is contained in:
parent
79e13d1209
commit
a2deb3854a
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-28 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 16507: Completion/Zsh/Type/_command_names: slight improvement
|
||||
for 16500 to allow completion after ./<TAB> in all cases
|
||||
|
||||
2002-01-27 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 16503: Src/builtin.c: warn on fclose or fflush
|
||||
|
|
|
@ -10,15 +10,10 @@ defs=(
|
|||
'commands:external command:compadd -k commands'
|
||||
)
|
||||
|
||||
if [[ -n "$path[(r).]" ]]; then
|
||||
[[ -n "$path[(r).]" || $PREFIX = */* ]] &&
|
||||
defs=( "$defs[@]"
|
||||
'executables:executable file or directory:_path_files -/g \*\(-\*\)'
|
||||
)
|
||||
else
|
||||
defs=( "$defs[@]"
|
||||
'executables:executable file or directory:_files -P/ -W/ -/g \*\(-\*\)'
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "$1" = -e ]]; then
|
||||
shift
|
||||
|
|
Loading…
Reference in a new issue