X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=bashrc;h=fff96ac3cbaf2f3d9a28b64a1c476e1a8a4cf489;hp=4e2a1517f92335eb3f2a889c967a3b0700049f75;hb=d9930e7823c007964a023880587f23db98754eb8;hpb=8180bf9a04c1d1d7b362adbdac2982bdf2a76d6f diff --git a/bashrc b/bashrc index 4e2a151..fff96ac 100644 --- a/bashrc +++ b/bashrc @@ -761,7 +761,7 @@ function keep_local_history () { PS1="\[${VT_WHITE_BG}\]\${LOCAL_HISTORY_HINT}\[${VT_RESET}\]${PS1}" ###################################################################### -# Switch off the history +# Show the history path if it is unusual function histfile_cue () { if [[ ! "${HISTFILE}" == "${HOME}/.bash_history" ]]; then @@ -902,8 +902,6 @@ PROMPT_COMMAND="prompt_command" # Displaying the timezone if it is set -if [[ ${TZ} ]]; then - echo "${VT_BLUE_FG}Time zone is ${TZ}.${VT_RESET}" -fi +[[ ${TZ} ]] && echo "${VT_BLUE_FG}Time zone is ${TZ}.${VT_RESET}" ######################################################################