Files
dotfiles/env/.config/zsh/functions/shortdate

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-)"
}