Compatible with Ubuntu (2)
This commit is contained in:
parent
9e83e5f24a
commit
60285a778b
|
@ -3,17 +3,18 @@ export PATH="$PATH:$HOME/.local/bin"
|
||||||
(( ${+commands[go]} )) && export PATH="$PATH:$(go env GOPATH)/bin"
|
(( ${+commands[go]} )) && export PATH="$PATH:$(go env GOPATH)/bin"
|
||||||
|
|
||||||
# Essentials
|
# Essentials
|
||||||
[[ $(uname -o) == "Android" ]] && export LANG="en_US.UTF-8" || export LANG="en_DK.UTF-8"
|
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export EDITOR="nano"
|
export EDITOR="nano"
|
||||||
(( ${+commands[vim]} )) && export EDITOR="vim"
|
(( ${+commands[vim]} )) && export EDITOR="vim"
|
||||||
(( ${+commands[nvim]} )) && export EDITOR="nvim"
|
(( ${+commands[nvim]} )) && export EDITOR="nvim"
|
||||||
|
[[ $(uname -o) != "Android" ]] && [[ $(lsb_release -si) != "Ubuntu" ]] && export LANG="en_DK.UTF-8" || export LANG="en_US.UTF-8"
|
||||||
|
|
||||||
# Less
|
# Less
|
||||||
export LESS="-R"
|
export LESS="-R"
|
||||||
export LESSHISTFILE="/dev/null"
|
export LESSHISTFILE="/dev/null"
|
||||||
|
|
||||||
# Tmux
|
# Tmux
|
||||||
|
[[ $(uname -o) == "GNU/Linux" ]] && [[ $(lsb_release -si) == "Ubuntu" ]] && export TERM="xterm-256color"
|
||||||
[[ -n $TMUX ]] && export TERM="xterm-256color"
|
[[ -n $TMUX ]] && export TERM="xterm-256color"
|
||||||
|
|
||||||
# Secret variables
|
# Secret variables
|
||||||
|
|
Loading…
Reference in a new issue