Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Allow '=' aliases to be used with -L
- X-seq: zsh-workers 42493
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- Subject: Re: [PATCH] Allow '=' aliases to be used with -L
- Date: Wed, 21 Mar 2018 18:37:37 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g/NYKosX9r1HiE3qQPF0M6CmHNX2oqpjuS0g2Vww3co=; b=XYVuWvIiEvqeSyAjXo6xe0cNRx7iEuZ4MJFy6w3E64hOea7omMEvI78z1p/OBR0gXq LWjxoasYmvXUgioPYRhnMMlXZqguDof4Aht13Zf4ZyYF8pQ+y0mgahRR2KlOe3oTcodp ExlI1FfW2pB3+B0SITH3fG8JIr48VDYawqFr8Uv0nUNnLArImG6x0NCQycCANQebNQ6u XVn/A//9ZcYx/JLMzvYPMjeMaTEuaOsyNUVrHU7YaqhqFmv2DpJws4musypIZPcxEn74 QxJeaexnIYj9/kxJP9Ll0hFix/EKn+sJqhrksnRLDeUUzUtpOn1/vvRIrHrxxBj+zZk+ 6fAQ==
- In-reply-to: <20180322011905.45n377wsxp62k57e@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180322011905.45n377wsxp62k57e@gmail.com>
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