Skip to content

Instantly share code, notes, and snippets.

@bivex
Created January 12, 2026 06:27
Show Gist options
  • Select an option

  • Save bivex/5fc04ed136baa9d76fe997f4a7326b49 to your computer and use it in GitHub Desktop.

Select an option

Save bivex/5fc04ed136baa9d76fe997f4a7326b49 to your computer and use it in GitHub Desktop.
VS Code Add shell integration
grep -q 'vscod
e.*locate-shell-integration-path' ~/.zshrc && echo "She
ll integration already configured" || (echo '[[ "$TERM_
PROGRAM" == "vscode" ]] && . "$(code --locate-shell-int
egration-path zsh)"' >> ~/.zshrc && echo "Added shell i
ntegration to ~/.zshrc")
Added shell integration to ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment