reintroduce zshenv

This commit is contained in:
2021-04-03 22:55:46 +02:00
parent 304cc6556e
commit 7370764be4
2 changed files with 14 additions and 14 deletions

14
zsh/.zshenv Normal file
View File

@@ -0,0 +1,14 @@
HISTFILE=${HOME}/.zsh_history
HISTSIZE=500000
SAVEHIST=$HISTSIZE
export GOPATH="$HOME/.go"
export PATH="$HOME/.cargo/bin:$HOME/.gem/bin:$GOPATH/bin:$HOME/.local/bin:$PATH"
if [[ -x /usr/bin/nvim ]]; then
export EDITOR=nvim
elif [[ -x /usr/bin/vim ]]; then
export EDITOR=vim
fi
[[ -x /usr/bin/dircolors ]] && eval "$(dircolors)"