A simple zsh plugin that automatically activates VS Code shell integration when working in VS Code terminals.
This plugin automatically loads VS Code's shell integration script when working in VS Code (stable or insiders) terminals, providing enhanced terminal features like command decorations, directory tracking, and better navigation.
-
Clone this repository into your Oh My Zsh custom plugins directory:
git clone https://github.com/tolkonepiu/vscode-shell-integration-zsh-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/vscode-shell-integration -
Add the plugin to your
~/.zshrcfile:plugins=(... vscode-shell-integration)
-
Restart your terminal or reload your zsh configuration:
source ~/.zshrc
- Clone or download this repository
- Source the plugin file in your
~/.zshrc:
source /path/to/vscode-shell-integration.plugin.zshzinit load tolkonepiu/vscode-shell-integration-zsh-pluginantigen bundle tolkonepiu/vscode-shell-integration-zsh-pluginzplug "tolkonepiu/vscode-shell-integration-zsh-plugin"antidote bundle tolkonepiu/vscode-shell-integration-zsh-pluginThis repository is licensed under the MIT License.