diff --git a/dot_zsh_functions b/dot_zsh_functions index 00fa271..b75829c 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -77,3 +77,6 @@ function istherenewissues() { fi echo "$LASTISSUE" > .newjiraissue } +function greppagedate() { + curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | head -n1 +}