From: Francois Fleuret Date: Fri, 7 Aug 2015 02:40:08 +0000 (-0700) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;ds=inline;h=1f8ae8cc1c0b654adb99d40e2ad7e40414074732;p=scripts.git Update. --- diff --git a/bashrc b/bashrc index 4ae13cb..adef316 100644 --- a/bashrc +++ b/bashrc @@ -54,6 +54,8 @@ shopt -s histappend setterm -blength 0 +# || setterm --blength 0 # Seriously? + ###################################################################### ## The interactive part @@ -367,7 +369,7 @@ function pho () { function dt () { echo "Local: $(date)" if [[ ${TZ} ]]; then - unset TZ + local TZ=$(cat /etc/timezone) echo "Home: $(date)" fi } @@ -884,7 +886,7 @@ PROMPT_COMMAND="prompt_command" # 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 ######################################################################