When I find myself in times of arithmetic trouble¹, I like to simply calculate on my shell
> echo $(( 3**4 - 2/7*5 ))
which of course works beautifully. However, I find that it's too much typing, so I defined
function §()
echo $(( $@ ))
which allows me to
> § '3**4 - 2/7*5'
but not
> § 3**4 - 2/7*5
Because zsh tells me it could find no matches (or worse, expands filenames if there are some matches).
How can I tell the zsh shell that I want it to not interpret things entered as arguments to a function as globs?
I don't want to do something like
> enter_non_glob_mode
> 3**4 - 2/7*5
> back_to_normal_mode
because instead of that, I could as well start dc, python…
¹Mother Euler speaks to me, wispering words of wisdom, power of e... SCNR.