From: Oleg Broytman Date: Thu, 10 Feb 2022 14:39:00 +0000 (+0300) Subject: .fvwmrc: Pass `$TZ` from the local host X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=bb5e979654c528dcc4cb8a64ee4f9b7bdfd9939d;p=dotfiles.git .fvwmrc: Pass `$TZ` from the local host --- diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 1095e14..0575243 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -93,8 +93,10 @@ define(`TERM_TITLE_SSH', `$1 -title "$3" -n "$3" -e SSH $2') define(`TERM_KOI8_SSH', TERM_TITLE_SSH(TERM_KOI8, $1, $2)) -define(`SSH_SCREEN_KOI8', `-t $1 exec /usr/bin/screen -xRR -S default-koi8') -define(`SSH_SCREEN_UTF8', `-t $1 exec /usr/bin/screen -xRR -S default-utf8') +define(`SSH_SCREEN_KOI8', +`-t $1 TZ="$(cat /etc/timezone)" exec /usr/bin/screen -xRR -S default-koi8') +define(`SSH_SCREEN_UTF8', +`-t $1 TZ="$(cat /etc/timezone)" exec /usr/bin/screen -xRR -S default-utf8') define(`TERM_TITLE_SSH_SCREEN_KOI8', `$1 -title "$3 scr" -n "$3 scr" -e SSH SSH_SCREEN_KOI8($2)')