Move the zsh exported variables to the .zshenv file
This commit is contained in:
parent
4927b7f551
commit
0844e03dd4
2 changed files with 14 additions and 12 deletions
14
.zshenv
Normal file
14
.zshenv
Normal file
|
@ -0,0 +1,14 @@
|
|||
export HISTFILE="$HOME/.zsh_history"
|
||||
export HISTSIZE=5000
|
||||
export SAVEHIST=100000
|
||||
|
||||
export CLICOLOR=1
|
||||
export EDITOR='vim'
|
||||
export PAGER='less'
|
||||
|
||||
export USER_NICKNAME="Rodolphe Bréard"
|
||||
export DEBEMAIL="packages+deb@what.tf"
|
||||
export DEBFULLNAME="$USER_NICKNAME"
|
||||
|
||||
# Path
|
||||
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
|
12
.zshrc
12
.zshrc
|
@ -2,18 +2,6 @@ setopt no_beep inc_append_history hist_ignore_dups hist_ignore_space extended_gl
|
|||
bindkey -e
|
||||
bindkey "^[[3~" delete-char
|
||||
bindkey "^[3;5~" delete-char
|
||||
export HISTFILE="$HOME/.zsh_history"
|
||||
export HISTSIZE=5000
|
||||
export SAVEHIST=100000
|
||||
export CLICOLOR=1
|
||||
export EDITOR='vim'
|
||||
export PAGER='less'
|
||||
export USER_NICKNAME="Rodolphe Bréard"
|
||||
export DEBEMAIL="packages+deb@what.tf"
|
||||
export DEBFULLNAME="$USER_NICKNAME"
|
||||
|
||||
# Path
|
||||
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
|
||||
|
||||
# Colors
|
||||
[ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)
|
||||
|
|
Loading…
Reference in a new issue