.bashrc: +alias date
authorJan Kratochvil <jan@jankratochvil.net>
Thu, 9 Nov 2023 04:00:17 +0000 (12:00 +0800)
committerJan Kratochvil <jan@jankratochvil.net>
Thu, 9 Nov 2023 04:00:17 +0000 (12:00 +0800)
.bashrc

diff --git a/.bashrc b/.bashrc
index 0ead09c..82e5139 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -216,7 +216,9 @@ export GDBHISTFILE="$HOME/.gdb_history"
 export CVS_RSH="ssh"
 export TZ="Asia/Manila"
 #export TZ="Europe/Prague"
-#export TZ="Canada/Eastern"
+if [ "$TZ" = Asia/Manila ];then
+  alias date='TZ=Asia/Manila date;TZ=Europe/Prague date'
+fi
 export PYTHONUNBUFFERED=1
 export ASAN_OPTIONS=detect_leaks=0
 export GTK_OVERLAY_SCROLLING=0