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

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



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