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

Re: (zsh-4.3.2) Y03 test failure under Slackware Linux 9.0.0



Eric De Mund wrote:
> Ok, I believe I've solved this. My build environment for zsh-4.3.2 was a
> zsh-4.2.5 shell with my ~/.{zshenv,zshrc,zlogin} files invoked, which
> includes this variable setting: WORDCHARS="_".

Yes, if I set that and export WORDCHARS I get exactly your result.  Do
you have WORDCHARS exported (it usually isn't)?  This should fix it
if so.

Thanks for looking.

Index: Test/ztst.zsh
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.25
diff -u -r1.25 ztst.zsh
--- Test/ztst.zsh	23 Sep 2006 06:55:29 -0000	1.25
+++ Test/ztst.zsh	28 Nov 2006 22:06:05 -0000
@@ -30,6 +30,9 @@
 [[ -n $LC_MESSAGES ]] && LC_MESSAGES=C
 [[ -n $LANG ]] && LANG=C
 
+# Don't propagate variables that are set by default in the shell.
+typeset +x WORDCHARS
+
 # Set the module load path to correspond to this build of zsh.
 # This Modules directory should have been created by "make check".
 [[ -d Modules/zsh ]] && module_path=( $PWD/Modules )

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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