.bashrc: TZ: Termux compatibility.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 0ded121..57623c7 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -209,8 +209,8 @@ export HISTSIZE=10000000
 export HISTFILESIZE="$HISTSIZE"
 export GDBHISTFILE="$HOME/.gdb_history"
 export CVS_RSH="ssh"
-export TZ=":/usr/share/zoneinfo/Europe/Prague"
-#export TZ=":/usr/share/zoneinfo/Canada/Eastern"
+export TZ="Europe/Prague"
+#export TZ="Canada/Eastern"
 export PYTHONUNBUFFERED=1
 export ASAN_OPTIONS=detect_leaks=0
 export GTK_OVERLAY_SCROLLING=0
@@ -384,7 +384,6 @@ function rpmsrclist
                        | sort -u
        fi
 }
-function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --num-callers=50 --suppressions=$s "$@";);}
 function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);}
 function gitcommit { git commit -a --allow-empty-message -m '' "$@"; }
 function gpg {(unset gpg; http_proxy= all_proxy= HTTP_PROXY= ALL_PROXY= gpg "$@"; );}