reintroduce zshenv
This commit is contained in:
14
zsh/.zshenv
Normal file
14
zsh/.zshenv
Normal 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)"
|
||||
Reference in New Issue
Block a user