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

[bug] zcompile failes to compile



Hi,

% cat /tmp/test.sh
#  -*- mode: sh -*-

echo $ZSH_VERSION

# with this line zcompile works
# alias ag=true
# but with this line zcompile fails
alias ag='LC_ALL=C true'

if false
then
    agd()
    {
        true
    }
else
    alias agd=ag
fi

zcompile $0

% zsh -f /tmp/test.sh
4.3.10

% zsh-beta -f /tmp/test.sh
4.3.10-dev-1-cvs0603
/tmp/test.sh:12: parse error near `()'
/tmp/test.sh:zcompile:20: can't read file: /tmp/test.sh

Removing the LC_ALL=C from the alias ag or running zcompile at the
beginnig of the file works, but not the file above.

Bye, JÃrg
-- 
Angenehme Worte sind nie wahr,
wahre Worte sind nie angenehm.



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