diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 11:14:51 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 11:14:51 +0000 |
| commit | 3076ed44d33ac699b306824214951c436c4a7a4e (patch) | |
| tree | 2c743b047da4a14c36586dbf5011d80cc09e86b2 /Completion/Commands/_read_comp | |
| parent | zsh-workers/9676 (diff) | |
| download | zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.gz zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.bz2 zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.lz zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.xz zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.zst zsh-3076ed44d33ac699b306824214951c436c4a7a4e.zip | |
zsh-workers/9677
Diffstat (limited to 'Completion/Commands/_read_comp')
| -rw-r--r-- | Completion/Commands/_read_comp | 9 |
1 files changed, 1 insertions, 8 deletions
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 |
