]> git.alrj.org Git - zsh.d.git/blobdiff - S20_env
Add a wrapper for mc to stay in current directory upon exit
[zsh.d.git] / S20_env
diff --git a/S20_env b/S20_env
index 410fa0b6ebe3f2d370c7bb2e52cadd57fe300ca4..e70237043f7ce42973ccdaf4261bbac30c4eabca 100644 (file)
--- 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"