Is Txt Allowed To Date, zshrc: today() { date '+%F' } Then you can use it like this: ~ $ touch $(today).