Re: auto-removal of suffixes
dana <[email protected]> Mon, 29 Jun 2026 10:09:32 -0500
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon 29 Jun 2026, at 06:04, Oliver Kiddle wrote:
> In my view 64a4fbfbf, an unposted patch against _configure is wrong.
sorry. i pinged you about it a few days ago but shouldn't have just gone
ahead with it
tbh now that you say it i'm afraid i may have used -q too loosely in
other places. i'll double-check whether that's so
anyway do you mind this instead?
dana
diff --git a/Completion/Unix/Command/_configure b/Completion/Unix/Command/_configure
index 299684684..9911b78ec 100644
--- a/Completion/Unix/Command/_configure
+++ b/Completion/Unix/Command/_configure
@@ -21,7 +21,7 @@ if [[ ! -prefix - ]]; then
compset -P 1 '*='
_value && ret=0
else
- compset -S '=*' || suf=( -qS = )
+ compset -S '=*' || suf=( -r = -S = )
_wanted -x variables expl variable compadd $suf \
CC CFLAGS CPP CPPFLAGS CXX CXXFLAGS DEFS ERLCFLAGS FCFLAGS \
FFLAGS GOFLAGS LDFLAGS LIBS OBJCFLAGS OBJCXXFLAGS && ret=0