projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46103bc
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 7 Aug 2015 02:40:08 +0000
(19:40 -0700)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 7 Aug 2015 02:40:08 +0000
(19:40 -0700)
bashrc
patch
|
blob
|
history
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
######################################################################