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)"
|
||||||
14
zsh/.zshrc
14
zsh/.zshrc
@@ -9,9 +9,6 @@ setopt noflowcontrol
|
|||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
unsetopt nomatch
|
unsetopt nomatch
|
||||||
|
|
||||||
HISTFILE=${HOME}/.zsh_history
|
|
||||||
HISTSIZE=500000
|
|
||||||
SAVEHIST=$HISTSIZE
|
|
||||||
setopt share_history
|
setopt share_history
|
||||||
setopt append_history
|
setopt append_history
|
||||||
setopt extended_history
|
setopt extended_history
|
||||||
@@ -106,14 +103,3 @@ toolbox() {
|
|||||||
command toolbox $@
|
command toolbox $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ -x /usr/bin/dircolors ]] && eval "$(dircolors)"
|
|
||||||
|
|
||||||
export GOPATH="$HOME/.go"
|
|
||||||
export PATH="$HOME/.radicle/bin:$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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user