devbox icon indicating copy to clipboard operation
devbox copied to clipboard

Enabled plugins to detect devbox entrypoint and alter their behavior

Open kadaan opened this issue 1 year ago • 3 comments

Summary

Extract getSubcommand from telemetry and use it to set the new DEVBOX_ENTRYPOINT environment variable in midcobra. Use the new env var in venvShellHook.sh to stop printing the banner when running via devbox run ...

Fixes: #1823

How was it tested?

Manually run a devbox with python package via both devbox shell and devbox run. When devbox shell is used, the banner is printed. When devbox run is used, the banner is not printed.

kadaan avatar Feb 22 '24 16:02 kadaan