From: Amand Tihon Date: Fri, 21 Oct 2022 08:24:15 +0000 (+0200) Subject: set SHELL env if not zsh X-Git-Url: https://git.alrj.org/?a=commitdiff_plain;h=6a4e8571914e46e516f7605e38a3dbe81d314999;p=zsh.d.git set SHELL env if not zsh --- diff --git a/S20_env b/S20_env index 0e2cb72..e702370 100644 --- a/S20_env +++ b/S20_env @@ -8,12 +8,16 @@ if [ x"$HOSTNAME" = x ] ; then export HOSTNAME=$(hostname) fi +# May seem strange, but usefull when the user's official shell is not zsh +if [ "${SHELL: -3}" != zsh ] ; then + export SHELL=/usr/bin/zsh +fi + export EMAIL="amand.tihon@iba-group.com" export FULLNAME="Amand Tihon" export EDITOR=vim -export LANG=fr_BE.UTF-8 - # Virtual env in prompt is already supported. -export VIRTUAL_ENV_DISABLE_PROMPT="yes" \ No newline at end of file +export VIRTUAL_ENV_DISABLE_PROMPT="yes" +