Z-shell

Quoting aliases

Double quotes -> static: always the date when alias was created

alias dxd="echo $(date)"

Single quotes -> dynamic: the date when alias is invoked

alias dxs='echo $(date)'

~~~

Techne archive

Back to unixcat.coffee