Adds shortdate function

This commit is contained in:
2023-11-07 09:03:43 -05:00
parent 367cae9748
commit f362789006

7
zsh/config/functions/shortdate Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/zsh
# Formats the date as '23.10.12'.
function shortdate() {
echo "$(date '+%Y.%m.%d' | cut -c3-)"
}