vs
Reference

Shell Activation

Load shell hooks so vs can apply the active runtime selection to your session.

vs activate <shell> prints shell code that wires your shell to the internal helper commands.

eval "$(vs activate bash)"
eval "$(vs activate zsh)"
vs activate fish | source
vs activate nushell | save --force ~/.config/nushell/vs.nu
source ~/.config/nushell/vs.nu
Invoke-Expression (& vs activate pwsh)

What activation does

Current activation scripts set or reuse VS_SESSION_ID, then delegate to internal helper commands so vs can compute environment changes for the current working directory.

Internal helpers currently include:

  • vs __hook-env <shell>
  • vs __resolve <plugin>

Treat these helpers as internal implementation details rather than stable public commands.

On this page