feat(zsh): update env vars (EDITOR/COLORTERM)

This commit is contained in:
George Rawlinson 2022-06-14 20:13:19 +12:00
parent 4040b1d4a8
commit 9905ded582
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
1 changed files with 11 additions and 1 deletions

View File

@ -2,8 +2,18 @@
# environment variables
#
export EDITOR="nvim"
# editor
if command -v nvim &> /dev/null; then
export EDITOR='nvim'
elif command -v vim &> /dev/null; then
export EDITOR='vim'
fi
# locale
export LANG='en_NZ.UTF-8'
export LC_ALL='en_NZ.UTF-8'
# more terminal futzing. yay.
export COLORTERM='24bit'
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2