9 ms·
> if there is a variable in an alias body, it will be evaluated once, on alias creation, and never again. Really? That's not true in bash: $ alias x='ech
by dlitz 13y ago
> if there is a variable in an alias body, it will be evaluated once, on alias creation, and never again.
Really? That's not true in bash:
$ alias x='echo foo$A'
$ x
foo
$ A=zball
$ x
foozball