Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug + patch: `zstyle ':completion:*' menu select=long-list` fails to start menu selection



> On 12 March 2021 at 13:11 Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
> 
> 
> I found the culprit: I had
> 
> export GREP_OPTIONS='--color=always'
> 
> in my `.zshrc` file and that mangled the .mdd file names.

It's probably worth having the following.  It doesn't cover all the
possible cases where you can get into trouble, but it's a useful
blanket for the standard case where everything is done immediately
from configure.

pws

diff --git a/configure.ac b/configure.ac
index 16dafac05..41006d67d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,9 @@ AC_CONFIG_SRCDIR([Src/zsh.h])
 AC_PREREQ([2.69])
 AC_CONFIG_HEADER(config.h)
 
+dnl Configure uses grep widely, make sure output is uncorrupted.
+unset GREP_OPTIONS
+
 dnl What version of zsh are we building ?
 . ${srcdir}/Config/version.mk
 echo "configuring for zsh $VERSION"




Messages sorted by: Reverse Date, Date, Thread, Author