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

Re: Bug#480889: zcompiling messes with alias-in-function expansion



I imagine that this is somehow related to

alias foo='echo bar'; foo

On Mon, May 12, 2008 at 03:55:09PM +0100, martin f krafft wrote:
> % cat <<_eof > foo
> alias foo='echo bar'
> fn() { foo }
> foo
> which foo
> _eof
> % . ./foo
> bar
> foo: aliased to echo bar
> % unalias foo; unfunction fn
> % zcompile foo
> % . ./foo
> ./foo:3: command not found: foo
> foo: aliased to echo bar
> 
> 
> OUCH!



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