Edit env vars

This commit is contained in:
Sam A. 2022-11-12 17:01:14 +01:00
parent a4cbde9906
commit d119346227
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -3,11 +3,10 @@ export PATH="$HOME/.local/bin:$PATH"
(( ${+commands[go]} )) && export PATH="$(go env GOPATH)/bin:$PATH"
# Essentials
[[ ! $(lsb_release -si) =~ "^Debian|Ubuntu$" ]] &&
export LANG="en_DK.UTF-8" ||
{ export LANG="en_US.UTF-8"; export TERM="xterm-256color"; }
export LANG="en_DK.UTF-8"
export PAGER="less"
export EDITOR="nano"
export TERM="xterm-256color"
(( ${+commands[vim]} )) && export EDITOR="vim"
(( ${+commands[nvim]} )) && export EDITOR="nvim"
@ -15,8 +14,5 @@ export EDITOR="nano"
export LESS="-R"
export LESSHISTFILE="/dev/null"
# Tmux
[[ -n $TMUX ]] && export TERM="xterm-256color"
# Secret variables
[[ -f $ZDOTDIR/.env.zsh ]] && source $ZDOTDIR/.env.zsh