From 6a4e8571914e46e516f7605e38a3dbe81d314999 Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Fri, 21 Oct 2022 10:24:15 +0200 Subject: [PATCH] set SHELL env if not zsh --- S20_env | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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" + -- 2.39.5