repo: Add locale configuration
This commit is contained in:
4
.config/locale.conf
Normal file
4
.config/locale.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export LANG=en_US.utf8
|
||||||
|
export LC_TIME=tk_TM.utf8
|
||||||
@@ -35,6 +35,9 @@ if [[ ! "$PATH" =~ "$HOME/\.local/bin" ]]; then
|
|||||||
export PATH="$HOME/.local/bin${PATH:+:$PATH}"
|
export PATH="$HOME/.local/bin${PATH:+:$PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Locale settings as $LANG
|
||||||
|
[[ ! -e "$XDG_CONFIG_HOME/locale.conf" ]] || . "$XDG_CONFIG_HOME/locale.conf"
|
||||||
|
|
||||||
if (( $+commands[nvim] )); then
|
if (( $+commands[nvim] )); then
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
elif (( $+commands[vim] )); then
|
elif (( $+commands[vim] )); then
|
||||||
|
|||||||
Reference in New Issue
Block a user