Package: zsh-beta
Version: 4.3.10-dev-1+20090717-1
Severity: normal

A regression introduced by this build:

This works (I use eval since those functions are defined in a loop[0])

% eval 'de() { (_de-en $*; _en-de $*) | more }'
% which de
de () {
  (
    _de-en $*
    _en-de $*
  ) | more
}

But:

% eval 'lt() { (_lt-en $*; _en-lt $*) | more }'
zsh: parse error near `()'

Alright, so lt is special:

% which lt
lt: aliased to ls -lt

But that does not prevent de from being defined:

% alias de=foo
% eval 'de() { (_de-en $*; _en-de $*) | more }'
% which de
de: aliased to foo

[0] 
http://git.madduck.net/v/etc/zsh.git?a=blob;f=.zsh/zshrc/30_aliases;h=f206c8c8bfeaf777a6f4ebef5ea4b54746376b7e;hb=HEAD#l131

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

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh-beta depends on:
ii  libc6                     2.9-20         GNU C Library: Shared libraries
ii  libcap2                   1:2.16-5       support for getting/setting POSIX.
ii  libncursesw5              5.7+20090613-1 shared libraries for terminal hand
ii  passwd                    1:4.1.4.1-1    change and administer password and

Versions of packages zsh-beta recommends:
ii  libc6                         2.9-20     GNU C Library: Shared libraries
ii  libpcre3                      7.8-2      Perl 5 Compatible Regular Expressi

Versions of packages zsh-beta suggests:
pn  zsh-beta-doc                  <none>     (no description available)

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to