Use single quotes around the alias definition to make it a literal string. The subshell command (date) is then executed at the time the alias is used and not at the time of alias definition.
So the pod name would change every time (every second to be exact) the alias is called, which is probably intended originally.
Also use double-quotes around subshell command in the alias to protect the output against shell evaluation (whitespace, special symbols, etc.).
Use single quotes around the alias definition to make it a literal string. The subshell command (
date
) is then executed at the time the alias is used and not at the time of alias definition.So the pod name would change every time (every second to be exact) the alias is called, which is probably intended originally.
Also use double-quotes around subshell command in the alias to protect the output against shell evaluation (whitespace, special symbols, etc.).