From 3076ed44d33ac699b306824214951c436c4a7a4e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 11 Feb 2000 11:14:51 +0000 Subject: zsh-workers/9677 --- Completion/Commands/_read_comp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Completion/Commands') diff --git a/Completion/Commands/_read_comp b/Completion/Commands/_read_comp index a956c65f7..bc6e4c3c6 100644 --- a/Completion/Commands/_read_comp +++ b/Completion/Commands/_read_comp @@ -26,14 +26,7 @@ setopt localoptions extendedglob nobadpattern # xtrace promptsubst # local PS4='%N:%i:$((#key))> ' -# Took me ages to work this out. If we're not on the first global -# matcher specification, we mustn't do any I/O. -if [[ compstate[matcher] -gt 1 && -z $_read_comp ]]; then - return 1 -fi - -if [[ compstate[matcher] -gt 1 || - ( ${+NUMERIC} = 0 && -n $_read_comp ) ]]; then +if [[ ${+NUMERIC} = 0 && -n $_read_comp ]]; then if [[ $_read_comp = _* ]]; then eval $_read_comp else -- cgit 1.4.1