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 42502
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- Subject: Re: [PATCH] Allow '=' aliases to be used with -L
- Date: Fri, 23 Mar 2018 06:32:58 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=yrOb8W/SxBUYOJX4o3iy3rlR8JioS 5K18IeTcY6Skmk=; b=M1LK7OsQrrDD4wG8bJjHs4eiPm8S5/GcrfSCR2WkJjRsX WWXSuAp/1MwX931bgzYbZQE9m4BopFaN7Qgk3ONipaLxInsKNxMbVgO6BYB+B5V+ XgV1vPTA1x4r6MrObBfc6dLX3N1vlzRRRRjaMNp7A2UQFcR3tY/4NPbFJdhCd19S eZ4ireMaufRxOzbQ3JBfhsUb6zGzBd/JwfGuIND8SCVgk1Q6ZwP/lEOmBs7xoQB2 W3/PG689voVvoP1+5TVMf8PUHQZ9NRtdh2Jb0d7X9fnrFfhD213XGxOD0jt4Ntpx ZT5V9yOoSj2J2vAYQbfIfJhh4wt9C+pYKD06ZSwMw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=yrOb8W/SxBUYOJX4o3iy3rlR8JioS 5K18IeTcY6Skmk=; b=EbJFoguvTeKDb8tNhlI6JieZ313JUd0uPppoyo7FqoOFH yx3mWY+ZIGu07E5e73akHHO7vGHOuAZ0w5X4KfSNiMYzYPSIRWPePnkym0nxzIaQ pnReCkIpnIPmscPNj5zMQdKAxhWBkDFXJkfJXx9yKuRDIfsKIpAuC0dhbFaGj2im 3b0JQlsk3yqCuBwLUmv34Fwol4DbKD5iQ6vLIJgtn9vKDfDdPleAgZx6Q7u7t9ib jKOkOiHPfCF+tNPQ0uSENKSMUJwMYw9Zxt4EwEfzW+jEBjcvojWJOPOpBnqZRht1 uYJS7+zLo8yK+TWODykw3BrX759bX5ueSzQe0FOSA==
- In-reply-to: <20180322025807.u3y7dph2vi6ls2ll@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> <CAH+w=7aC9qsUaqz6arQitzoZsCXjeedSX5zUYE_Qwd-CLNQX6Q@mail.gmail.com> <20180322025807.u3y7dph2vi6ls2ll@gmail.com>
Joey Pabalinas wrote on Wed, Mar 21, 2018 at 16:58:07 -1000:
> +++ b/Src/hashtable.c
> @@ -1303,11 +1303,23 @@ printaliasnode(HashNode hn, int printflags)
> if (strchr(a->node.nam, '=')) {
> + printf("aliases[=]=");
For future reference, a->node.nam could also have been "foo=bar", which
is not a useful value (assignments have precedence over aliases) but would
be misserialized by the patch as written.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author