From e71150fa5ea85d05b75fc22ba8b8faa3e86265a0 Mon Sep 17 00:00:00 2001 From: druckdev Date: Wed, 17 Feb 2021 03:03:25 +0100 Subject: [PATCH] repo: Add locale configuration --- .config/locale.conf | 4 ++++ .config/zsh/.zprofile | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 .config/locale.conf diff --git a/.config/locale.conf b/.config/locale.conf new file mode 100644 index 0000000..b759de1 --- /dev/null +++ b/.config/locale.conf @@ -0,0 +1,4 @@ +#!/bin/sh + +export LANG=en_US.utf8 +export LC_TIME=tk_TM.utf8 diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index bf19a01..dec3054 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -35,6 +35,9 @@ if [[ ! "$PATH" =~ "$HOME/\.local/bin" ]]; then export PATH="$HOME/.local/bin${PATH:+:$PATH}" fi +# Locale settings as $LANG +[[ ! -e "$XDG_CONFIG_HOME/locale.conf" ]] || . "$XDG_CONFIG_HOME/locale.conf" + if (( $+commands[nvim] )); then export EDITOR=nvim elif (( $+commands[vim] )); then