mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 05:31:19 +02:00
try to return the right value (12119)
This commit is contained in:
parent
4bf681950b
commit
a9d46be89d
3 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2000-06-29 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 12119: Completion/Core/_complete, Completion/Core/_normal: try
|
||||
to return the right value
|
||||
|
||||
* 12118: Completion/Core/_expand: don't expand partially typed
|
||||
parameter expansions
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ fi
|
|||
|
||||
# For arguments and command names we use the `_normal' function.
|
||||
|
||||
ret=1
|
||||
if [[ "$compstate[context]" = command ]]; then
|
||||
curcontext="$oldcontext"
|
||||
_normal -s && ret=0
|
||||
|
|
|
@ -68,6 +68,7 @@ fi
|
|||
|
||||
# Now look up the two names in the normal completion array.
|
||||
|
||||
ret=1
|
||||
name="$cmd1"
|
||||
comp="$_comps[$cmd1]"
|
||||
|
||||
|
|
Loading…
Reference in a new issue