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

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



This may be the same bug in this message: <
http://www.zsh.org/mla/users/2013/msg00456.html>...

-- 
    Paul Gaborit



2014-07-02 0:04 GMT+02:00 Paul Gaborit <paul.gaborit@xxxxxxxxx>:

> 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