added date time variables

This commit is contained in:
pSox 2018-06-14 10:48:29 +01:00
parent e83e57d5c2
commit d173732f37
1 changed files with 7 additions and 0 deletions

7
zshrc
View File

@ -217,4 +217,11 @@ fi
path+=( $GOPATH/bin ${GOROOT+${GOROOT}/bin} )
# Set Time Variables
precmd() {
export _DATE_=$(date -u +%Y%m%d)
export _TIME_=$(date -u +%H%M%S)
export _DTTS_="${_DATE_}T${_TIME_}Z"
}
# vim: sw=2 ts=8 si relativenumber number