[Pkg-zsh-devel] Bug#705555: zsh: HIST_IGNORE_DUPS ignores lines which differ by a different number of spaces

Vincent Lefevre vincent at vinc17.net
Tue Apr 16 16:58:06 UTC 2013


Package: zsh
Version: 5.0.2-2
Severity: minor

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 "  "

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  dpkg        1.16.10
ii  libc6       2.13-38
ii  libcap2     1:2.22-1.2
ii  libtinfo5   5.9-10
ii  zsh-common  5.0.2-2

Versions of packages zsh recommends:
ii  libc6         2.13-38
ii  libncursesw5  5.9-10
ii  libpcre3      1:8.31-2

Versions of packages zsh suggests:
ii  zsh-doc  5.0.2-2

-- no debconf information



More information about the Pkg-zsh-devel mailing list