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

Re: Alias call in function fails...



On 6/23/20, Andreas Kusalananda Kähäri <andreas.kahari@xxxxxx> wrote:
> On Tue, Jun 23, 2020 at 01:23:55AM +0200, Mikael Magnusson wrote:
>> Aliases are expanded on parse time, which means aliases defined in a
>> file won't be usable in that same file. (Because it is parsed in its
>> entirety before any of the code is actually run).
>
> If the alias is defined before the definition of the function, it ought to
> work.

As I already explained, it will not.

-- 
Mikael Magnusson



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