pub fn render_activation(shell: ShellKind) -> StringExpand description
Renders the activation script for a shell.
The activation script only sets up the hook plumbing:
VS_SESSION_ID— identifies this shell session.- Hook function definition + registration.
- Exit trap for session cleanup.
- Initial hook call.
All environment variable management (__VS_ORIG_PATH, PATH,
plugin vars, __VS_VARS, __VS_STATE_HASH) is handled by
vs __hook-env so that the logic lives in one place.