X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=blobdiff_plain;f=S20_env;h=0e2cb7218996966d8af2dbdf38f9e80cec710ad5;hp=410fa0b6ebe3f2d370c7bb2e52cadd57fe300ca4;hb=HEAD;hpb=e808d77ed363e89fbf07e57e8cfd8608b5bfa2ef diff --git a/S20_env b/S20_env index 410fa0b..e702370 100644 --- a/S20_env +++ b/S20_env @@ -8,9 +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 +# Virtual env in prompt is already supported. +export VIRTUAL_ENV_DISABLE_PROMPT="yes"