From 643119d97296399e6fbfee1676712125984fb021 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 12 Sep 2015 12:07:40 +0300 Subject: [PATCH] rc: don't override sytem LANG & TZ TZ is now $(date +%Z) for sending over SSH. LANG should be in system settings and of course both can be overridden e.g.g in `.custom`. --- .mikaela/environment | 4 ---- rc/bashrc | 9 +++++---- rc/zshrc | 6 +++--- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.mikaela/environment b/.mikaela/environment index 27c79687..02afea46 100644 --- a/.mikaela/environment +++ b/.mikaela/environment @@ -1,5 +1 @@ export EDITOR=vim # MIKAELA_GREP MIKAELA_GREPENVIRONMENT - -export LANG=fi_FI.UTF-8 # MIKAELA_GREP # MIKAELA_GREPENVIRONMENT - -export TZ="Europe/Helsinki" # MIKAELA_GREP #MIKAELA_GREPENVIRONMENT diff --git a/rc/bashrc b/rc/bashrc index fcf3e1dc..77492f62 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -179,11 +179,12 @@ fi # Sets the default editor. I am vim user, so I want it to be vim. If you don't like terminal based text editors, change "" to gedit (Gnome) or Kate (KDE). #export EDITOR=vim # MIKAELA_GREP MIKAELA_GREP_ENVIRONMENT -# Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8 -#export LANG=fi_FI.UTF-8 # MIKAELA_GREP # MIKAELA_GREP_ENVIRONMENT +# Sets locale. You can get list of locales with "locale -a" command. This +# should be something which ends to .utf8 +#export LANG=fi_FI.UTF-8 -# Sets your timezone. Set in format , or just timezone like UTC. -#export TZ="Europe/Helsinki" # MIKAELA_GREP #MIKAELA_GREP_ENVIRONMENT +# Set TZ to local timezone for sending over SSH +TZ=$(date +%Z) # Sets PATH. To add another path, add : to string below. PATH=$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$HOME/.linuxbrew/games:$HOME/bin:$HOME/sbin:$HOME/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH diff --git a/rc/zshrc b/rc/zshrc index 1a632bac..33c495d3 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -144,10 +144,10 @@ fi #export EDITOR=vim # MIKAELA_GREP # MIKAELA_GREP_ENVIRONMENT # Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8 -#export LANG=fi_FI.UTF-8 # MIKAELA_GREP # MIKAELA_GREP_ENVIRONMENT +#export LANG=fi_FI.UTF-8 -# Sets your timezone. Set in format , or just timezone like UTC. -# export TZ="Europe/Helsinki" # MIKAELA_GREP # MIKAELA_GREP_ENVIRONMENT +# Set TZ to local timezone for sending over SSH +TZ=$(date +%Z) # Sets PATH. To add another path, add : to string below. PATH=$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$HOME/.linuxbrew/games:$HOME/bin:$HOME/sbin:$HOME/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH