Subject: Re: Compiled files ignore aliases
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Fri, 5 Feb 2016 08:37:08 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Feb 5,  4:33pm, Sebastian Gniazdowski wrote:
}
} this is probably expected as aliases are applied on parsing time. But
} maybe this wasn't yet recognized?

This is as expected, yes.

} Any way to have aliases working when sourcing .zwc file?

Typically one needs "zcompile -U" to turn OFF the aliases when creating
the .zwc file.  However, no function, zcompiled or otherwise, will use
aliases that are created after the function body is parsed.

What this means is:  The aliases have to be defined in the shell that
executes the zcompile command.