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

Re: [PATCH] Allow '=' aliases to be used with -L



On Wed, Mar 21, 2018 at 6:19 PM, Joey Pabalinas <joeypabalinas@xxxxxxxxx> wrote:
> Special case '=' aliases so that they can be output correctly
> by -L and be used in startup scripts.

Unfortunately you can't put this in the base shell, because assignment
to the aliases array is only supported by a module.

% zmodload -up aliases
% aliases[x]=foo
zsh: aliases: assignment to invalid subscript range



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