setterm -blength 0
+# || setterm --blength 0 # Seriously?
+
######################################################################
## The interactive part
function dt () {
echo "Local: $(date)"
if [[ ${TZ} ]]; then
- unset TZ
+ local TZ=$(cat /etc/timezone)
echo "Home: $(date)"
fi
}
# Displaying the timezone if it is set
if [[ ${TZ} ]]; then
- echo "${VT_BOLD}${VT_GREEN_FG}Time zone is ${TZ}.${VT_RESET}"
+ echo "${VT_BOLD}${VT_BLUE_FG}Time zone is ${TZ}.${VT_RESET}"
fi
######################################################################