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

[zsh 5.0.2] Bug with option histreduceblanks and specific $WORDCHARS ?



Hello,

I use zsh 5.0.2 with xubuntu 14.04. I use the option 'histreduceblanks' and
the value of $WORDCHARS is '*?_-.[]~=&;!#$%^(){}<>' (without quotes).
If I type a command with two consecutive spaces and some '/', the history
is broken.

Ex:

% setopt
noautomenu
nobeep
nobgnice
correct
histnostore
histreduceblanks
histsavenodups
histverify
nohup
interactive
monitor
shinstdin
zle
% echo $WORDCHARS
*?_-.[]~=&;!#$%^(){}<>
% cd  /tmp
% history -1
 9047  cd tmpp

(Note: there is two spaces between 'cd' and '/tmp')

Is it a bug ?

Thanks.

-- 
    Paul Gaborit


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