Skip to content

Commit 1968b59

Browse files
author
Jeff Bai
committed
$TZ setting for compatibility.
1 parent 39f1adc commit 1968b59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

profile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ fi
5050
export HISTSIZE=1000
5151
export HISTIGNORE="&:[bf]g:exit"
5252

53+
# Timezone variable $TZ, Wine and stuff alike need it.
54+
export TZ="$(readlink /etc/localtime | sed 's/^\.\.//g' | sed "s/\/usr\/share\/zoneinfo\///")"
55+
5356
for script in /etc/profile.d/*.sh ; do
5457
[ -r $script ] && . $script
5558
done

0 commit comments

Comments
 (0)