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

Re: Treating alias or function arguments literally



I have already declared this function `noglob' & `nocorrect' (I just checked with an alias and that doesn't effect it either)



On 09/15/2016 03:48 PM, Jérémie Roquet wrote:
> Hi,
>
> 2016-09-15 23:47 GMT+02:00 zv <zv@xxxxxxxx>:
>> I have a calculator function that I use from ZSH directly which frequently triggers shell expansion, e.g
>>
>>         [zv@syszv] ~/zv.github.com [master*] >> calc 20*15/2
>>         zsh: no matches found: 20*15/2
>>
>> Is there any way I can ask zsh to supply a particular alias or functions parameters either without expansion or as a single string?
> Sure: alias calc='noglob calc'
>
> Best regards,
>



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