Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Alias call in function fails...
> On Jun 23, 2020, at 6:43 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Jun 23, 2020 at 4:30 PM Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote:
>>
>> Ahh… ok. Thank you. I remember reading that now (before your changes)
>> but didn’t really ingest it.
>
> The more classic example is something excessively abbreviated such as
>
> % alias -g L='|less'
> % find ~ -name \*.gif L
For me, I think I would more likely do something like:
% alias -g opts=“-a -b -c -d”
% foo opts path/to/file
But, given my relative inexperience with zsh, I not think about alias -g and
would likely do:
% opts=“-a -b -c -d”
% foo $opts path/to/file
or use alias -g to save a really long ugly path. etc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author