Files
dotfiles/zsh/config/functions/shortdate
2023-11-07 09:03:43 -05:00

8 lines
112 B
Bash
Executable File

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