From f478244cdd4b8660abcbe4f5e906f14ee28ccd73 Mon Sep 17 00:00:00 2001 From: Steffen Bollmann Date: Wed, 10 Jan 2024 23:59:54 +0000 Subject: [PATCH] export user variables --- config/jupyter/environment_variables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/jupyter/environment_variables.sh b/config/jupyter/environment_variables.sh index 9032285..102a843 100644 --- a/config/jupyter/environment_variables.sh +++ b/config/jupyter/environment_variables.sh @@ -1,10 +1,10 @@ # This file is sourced once in jupyterlab_startup.sh and once in ~/.bashrc so we get the same environment variables in the jupyter and in the desktop environment if [[ -z "${NB_USER}" ]]; then - NB_USER=${USER} + export NB_USER=${USER} fi if [[ -z "${USER}" ]]; then - USER=${NB_USER} + export USER=${NB_USER} fi if [ -f '/usr/share/module.sh' ]; then