Edit env vars
This commit is contained in:
parent
a4cbde9906
commit
d119346227
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue