]> git.wh0rd.org - home.git/blob - .profile.d/timezone.sh
cros-board: update
[home.git] / .profile.d / timezone.sh
1 #export TZ=Asia/Kathmandu
2 #export TZ=Asia/Bangkok
3 #export TZ=Asia/Tokyo
4 unset TZ
5 if [[ $- == *i* && -n ${TZ} ]] ; then
6 echo "Timezone now set to $TZ"
7 fi
8
9 date() {
10 if [[ $# -eq 0 ]] ; then
11 set -- "+%a %d %b %Y %T %Z %z"
12 fi
13 command date "$@"
14 }