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

HIST_IGNORE_DUPS ignores lines which differ by a different number of spaces



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@xxxxxxxxxx> - 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)



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