added date time variables
This commit is contained in:
parent
e83e57d5c2
commit
d173732f37
7
zshrc
7
zshrc
|
@ -217,4 +217,11 @@ fi
|
||||||
|
|
||||||
path+=( $GOPATH/bin ${GOROOT+${GOROOT}/bin} )
|
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
|
# vim: sw=2 ts=8 si relativenumber number
|
||||||
|
|
Loading…
Reference in New Issue