zsh-workers
 help / color / mirror / code / Atom feed
* HIST_IGNORE_DUPS ignores lines which differ by a different number of spaces
@ 2013-04-16 17:05 Vincent Lefevre
  2013-04-17 16:41 ` Bart Schaefer
  2013-04-18 20:04 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Lefevre @ 2013-04-16 17:05 UTC (permalink / raw)
  To: zsh-workers

I can see the following bug with zsh 5.0.2 under Debian
(zsh/experimental Debian package). Consider:

% setopt HIST_IGNORE_DUPS
% echo " "
% echo "  "

If I type the up arrow, I get

  echo "  "

as expected, but if I type the up arrow a second time, I get

  setopt HIST_IGNORE_DUPS

instead of

  echo " "

and:

% history
    1  setopt HIST_IGNORE_DUPS
    2  echo "  "

Reported on the Debian BTS:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705555

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-20  3:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-16 17:05 HIST_IGNORE_DUPS ignores lines which differ by a different number of spaces Vincent Lefevre
2013-04-17 16:41 ` Bart Schaefer
2013-04-18 20:04 ` Peter Stephenson
2013-04-19 12:42   ` Peter Stephenson
2013-04-20  3:01     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).