echo-e"\n# Append the user's modular bin dir to PATH\nif [[ \"\$PATH\" != *\"${BIN_DIR}\"* ]] ; then\n PATH=\"\$PATH:${BIN_DIR}\"\nfi">>"$HOME/.bashrc"
rm /tmp/magicenv
fi
if!grep-q"user's modular bin dir""$HOME/.zshrc";then
echo-e"\n# Append the user's modular bin dir to PATH\nif [[ \"\$PATH\" != *\"${BIN_DIR}\"* ]] ; then\n PATH=\"\$PATH:${BIN_DIR}\"\nfi">>"/home/$NB_USER${DOMAIN:+@$DOMAIN}/.bashrc"
rm /tmp/magicenv
fi
if!grep-q"user's modular bin dir""/home/$NB_USER${DOMAIN:+@$DOMAIN}/.zshrc";then
echo-e"\n# Append the user's modular bin dir to PATH\nif [[ \"\$PATH\" != *\"${BIN_DIR}\"* ]] ; then\n PATH=\"\$PATH:${BIN_DIR}\"\nfi">>"/home/$NB_USER${DOMAIN:+@$DOMAIN}/.zshrc"
rm /tmp/magicenv
fi
else
if!grep-q"user's modular bin dir""$HOME/.bashrc";then
echo-e"\n# Append the user's modular bin dir to PATH\nif [[ \"\$PATH\" != *\"${BIN_DIR}\"* ]] ; then\n PATH=\"\$PATH:${BIN_DIR}\"\nfi">>"$HOME/.bashrc"
rm /tmp/magicenv
fi
if!grep-q"user's modular bin dir""$HOME/.zshrc";then