From 0844e03dd44c3574f158d92222dc61020315fe5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 12 Sep 2021 09:47:27 +0200 Subject: [PATCH] Move the zsh exported variables to the .zshenv file --- .zshenv | 14 ++++++++++++++ .zshrc | 12 ------------ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 .zshenv diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..f9a371e --- /dev/null +++ b/.zshenv @@ -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 diff --git a/.zshrc b/.zshrc index ef3bd27..65218f1 100644 --- a/.zshrc +++ b/.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)