In case of $ifmatch/$ifmatch2/$v1/$v2 it already works:

alias im return $ifmatch

//if (5 isnum) echo -a $im

($ifmatch is a sort of global variable, much like &binvars)

In fact I can't think of any case where this cannot be done the above way, except for $1, $2, $1- etc but who would want to make a replacement for them? They are as short as they can be already. Can you think of any other example where this would be useful?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com