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

Re: Treating alias or function arguments literally



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,

-- 
Jérémie



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