I discovered that when you invoke a command between $(…) or `…` in a zsh alias, that command is run once when the shell start and will never be called anymore.
Thus, my "calendar.txt" alias is becomes wrong if the shell is older than today.
Is it a way to run that command when the alias is called instead of at shell launch?
My calendar.txt alias is described here:
https://ploum.net/2025-09-03-calendar-txt.html
EDIT: the alias should be between ' ' , not " ". Novice mistake here! Thanks @zigdon
#zsh #cli