Skip to content

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.

License

Notifications You must be signed in to change notification settings

jet-logic/ws-local-terminal

Repository files navigation

Workspace Local Terminal

VSCode Extension VSCode Downloads License

Support vscode

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.


✨ Features

  • 📁 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.

🚀 Usage

  • 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

🔧 Requirements

  • Visual Studio Code ^1.50.0
  • Shell like bash, zsh, fish, powershell, etc.

⚙️ Development

npm install
npm run compile

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published