projects
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[scripts.git]
/
bashrc
diff --git
a/bashrc
b/bashrc
index
4ae13cb
..
adef316
100644
(file)
--- a/
bashrc
+++ b/
bashrc
@@
-54,6
+54,8
@@
shopt -s histappend
setterm -blength 0
setterm -blength 0
+# || setterm --blength 0 # Seriously?
+
######################################################################
## The interactive part
######################################################################
## The interactive part
@@
-367,7
+369,7
@@
function pho () {
function dt () {
echo "Local: $(date)"
if [[ ${TZ} ]]; then
function dt () {
echo "Local: $(date)"
if [[ ${TZ} ]]; then
- unset TZ
+ local TZ=$(cat /etc/timezone)
echo "Home: $(date)"
fi
}
echo "Home: $(date)"
fi
}
@@
-884,7
+886,7
@@
PROMPT_COMMAND="prompt_command"
# Displaying the timezone if it is set
if [[ ${TZ} ]]; then
# 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
######################################################################
fi
######################################################################