mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 00:51:05 +02:00
18486: back-out 18458 because it causes problems when completing only options
This commit is contained in:
parent
905d036c33
commit
da47e35a83
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-04-30 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 18486: Completion/Base/Utility/_describe: back-out 18458
|
||||||
|
because it causes problems when completing only options
|
||||||
|
|
||||||
2003-04-28 Peter Stephenson <pws@csr.com>
|
2003-04-28 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* 17820 (tweaked): Andrej: Src/Modules/tcp.h: unconfirmed but
|
* 17820 (tweaked): Andrej: Src/Modules/tcp.h: unconfirmed but
|
||||||
|
|
|
@ -20,10 +20,6 @@ elif [[ "$1" = -t* ]]; then
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ "$_type" = options && ! -prefix [-+]* ]] && \
|
|
||||||
zstyle -T ":completion:${curcontext}:options" prefix-needed &&
|
|
||||||
return 1
|
|
||||||
|
|
||||||
# Do the tests. `showd' is set if the descriptions should be shown.
|
# Do the tests. `showd' is set if the descriptions should be shown.
|
||||||
|
|
||||||
zstyle -T ":completion:${curcontext}:$_type" verbose && _showd=yes
|
zstyle -T ":completion:${curcontext}:$_type" verbose && _showd=yes
|
||||||
|
|
Loading…
Reference in a new issue