Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[zsh 5.0.2] Bug with option histreduceblanks and specific $WORDCHARS ?
- X-seq: zsh-workers 32826
- From: Paul Gaborit <paul.gaborit@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [zsh 5.0.2] Bug with option histreduceblanks and specific $WORDCHARS ?
- Date: Wed, 2 Jul 2014 00:04:24 +0200
- 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==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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