From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18607 invoked by alias); 1 Jul 2014 22:04:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32826 Received: (qmail 29887 invoked from network); 1 Jul 2014 22:04:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,LONGWORDS, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=DnvIH+4Y4kl0aymGeMi0i0zcPZBXxtBs+x3oTuI3Cro=; b=tdeIlkZbdSV69JgBY0lNzfP+qTH+gfL4XyQrxoj3BKhZdPx4KiuRi9Muk65byqYZoq bnwbUj23Bf/EJ/y8scRcNSClLq1VGDSutTnu4a38F//vXMOM5HkZzaaX1meagjszlS56 EUcV6bzaloeVp7XdMf7ji1RpTvfWdbUeRoNyUqjV+aDc1QY+ZVlkCQG/c8bVga1VdcHB uTSrasltBNu17fijXkEN4SgHU2u0fTNnUjhZez2KLJkH0zHCOJqgqW7jqmxBXudqVt7W JNBivTfWsKLbyc4jaAwRtx6r9qpewXuQrqPKzWPxLc7P8nIjPQtVf3XQb53kGmG3+GBM uSXA== MIME-Version: 1.0 X-Received: by 10.224.7.202 with SMTP id e10mr43145225qae.15.1404252265015; Tue, 01 Jul 2014 15:04:25 -0700 (PDT) Date: Wed, 2 Jul 2014 00:04:24 +0200 Message-ID: Subject: [zsh 5.0.2] Bug with option histreduceblanks and specific $WORDCHARS ? From: Paul Gaborit To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=001a11c229e86e6f2404fd28f551 --001a11c229e86e6f2404fd28f551 Content-Type: text/plain; charset=UTF-8 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 --001a11c229e86e6f2404fd28f551--