Ride the shell locally, with shared initialization and history file scoped to your workspace.
This extension sets up a terminal in Visual Studio Code that uses a workspace-specific initialization and history file, keeping your shell history clean, relevant, and project-specific.
- 📁 Workspace-local terminal with its own history and initialization file.
- 🧠 Shared history across terminal sessions within the same workspace.
- 🧠 Store your configurations in a separate rcfile to avoid modifying the default, enabling custom environment variables and init commands.
- ⚙️ Easy setup via command:
Setup Workspace Local Terminal
. - 🐚 Shell compatibility: works with
bash
,zsh
,fish
,powershell
.
- Open your project in VSCode.
- Open the Command Palette (
Ctrl+Shift+P
/Cmd+Shift+P
). - Run:
Setup Workspace Local Terminal
- That’s it! You now have a terminal tied to your project with its own history file.
- For bash shells:
- Custom initialization runs from .vscode/.bashrc
- Shell history is saved in .vscode/.bash_history
- For powershell:
- Custom initialization runs from .vscode/profile.ps1
- Shell history is saved in .vscode/powershell_history
- Visual Studio Code
^1.50.0
- Shell like
bash
,zsh
,fish
,powershell
, etc.
npm install
npm run compile