
Prism Shell
One consistent look for every shell in the VS Code terminal.

PowerShell, bash, Git Bash, zsh and the sh inside your Docker containers all look different
by default. Prism Shell gives them the same prompt and the same colors, so moving between
them doesn't feel like switching computers.
/\
/ \ ━━━━━━━━━━━━━━
/ \ ━━━━━━━━━━
/ >_ \ ━━━━━━━━━━━━━━━━
/ \ ━━━━━━━━
/__________\ ━━━━━━━━━━━━
P R I S M S H E L L
~/projects/api on main* via .venv
❯ npm test
~/projects/api on main* via .venv ✗ 1
❯
- Same prompt everywhere: current folder, git branch, a
* for uncommitted changes,
Python virtualenv, the exit code when a command fails, and a [docker:…] or [ssh:…] tag
when you're not on your own machine.
- Ten color palettes, including Matrix, Ember, Ocean and High Contrast. They preview live and
apply with one click. Only terminal colors change; your editor theme stays as it is.
- Startup animation: each new terminal draws the Prism logo out of Matrix-style code rain,
then gets out of the way. It never sits behind or over your text.
- Typography and prompt text: font, size, line height, letter spacing, weight, cursor, plus your
own prompt symbol, failure mark and words.
- Controls in VS Code: a status-bar menu and settings for everything. No editing config files.
- Fast: one
git call per prompt, and options to make it cheaper still.
- No dependencies: plain shell scripts. No Nerd Font, Node or Python required.
- Safe: branch and folder names are always shown as text, never run as code.
| Shell |
Where |
File |
| PowerShell 7+ / Windows PowerShell 5.1 |
Windows, macOS, Linux, containers |
shells/powershell/prism.ps1 |
| bash, Git Bash |
Linux, macOS, WSL, Windows (Git for Windows), containers |
shells/bash/prism.sh |
| zsh |
macOS, Linux, containers |
shells/zsh/prism.zsh |
| sh / ash / dash |
Alpine, BusyBox and slim Docker images |
shells/posix/prism.sh |
Install
From VS Code (recommended)
- Open the Extensions view (
Ctrl+Shift+X / Cmd+Shift+X), search for Prism Shell and click Install.
- A Prism Shell welcome terminal opens and draws the logo. Press 1 to set up everything.
You can always come back to it: click Prism in the status bar.
- Open a new terminal.
You can also install from the command line with code --install-extension rocksphe.prism-shell,
or download the .vsix from the latest release
and run code --install-extension prism-shell-<version>.vsix.
Controls
Click Prism in the status bar, or the terminal icon in the terminal panel's toolbar, to open the
controls menu:
| Control |
What it does |
| Palette |
Choose one of the ten palettes. The terminal previews each one live as you move through the list. |
| Terminal colors |
Turn the palette on or off. Only terminal colors change, never your editor theme. |
| Typography |
Font family, size, line height, letter spacing, normal and bold weight, cursor style |
| Startup animation |
Matrix rain into the logo, the logo alone, or nothing |
| Prompt text |
Your own prompt symbol (λ, $, ➜…), failure mark, and the words before the branch and virtualenv |
| Git branch |
Show or hide the branch in the prompt |
| Uncommitted-changes marker |
Show or hide the * (turning it off speeds things up in huge repos) |
| Spacing |
Roomy (a blank line between commands) or compact |
| Set up / remove prompt |
Add the prompt to, or remove it from, zsh, bash/Git Bash and PowerShell profiles (you pick which) |
Everything is also under Settings → Prism Shell (prismShell.*) and in the Command Palette
under Prism Shell:. Typography and colors change immediately. Prompt options apply to terminals
you open after changing them.
About Matrix backgrounds: VS Code doesn't let extensions put images or animations behind
terminal text. The extensions that do it modify VS Code's own installation files, which triggers
a "corrupt installation" warning and breaks on updates. Prism Shell gives you the Matrix look safely
instead: the Prism Matrix palette (green on black) and the Matrix startup animation.
Without the extension
Clone the repository somewhere permanent. ~/.prism-shell is what the Docker examples assume:
git clone https://github.com/RockSphe/prism-shell.git ~/.prism-shell
sh ~/.prism-shell/install/install.sh # bash, Git Bash, zsh
& "$HOME\.prism-shell\install\install.ps1" # PowerShell
Each installer adds one marked block to your shell profile, and --uninstall / -Uninstall
removes it. If PowerShell won't run the script, allow local scripts once with
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned. For the colors, copy one of the
vscode/terminal-colors-*.json files into your user settings.json.
vscode/settings.recommended.jsonc has optional font,
cursor and terminal-profile settings that go well with Prism Shell.
Docker
Prism Shell can style shells inside containers too, including the ones VS Code opens with
Attach Shell or Dev Containers.
Running container, nothing installed in it: copy the scripts in and point ENV at the
POSIX prompt. Interactive sh, ash and dash read the ENV file when they start.
docker cp ~/.prism-shell/shells <container>:/opt/prism-shell/shells
docker exec -it -e ENV=/opt/prism-shell/shells/posix/prism.sh <container> sh
docker exec -it <container> bash --rcfile /opt/prism-shell/shells/bash/prism.sh
Dev Containers: docker/devcontainer.json mounts your local
copy read-only and sets up sh, bash and zsh.
Your own images: docker/Dockerfile.example builds Prism
Shell into the image.
Options for shells outside VS Code
Inside VS Code the extension sets these for you from its settings. Elsewhere, set them as environment variables before the prompt loads (for example in your rc file or
profile), or change them in a running shell.
| Variable |
Default |
Effect |
PRISM_GIT |
1 |
0 hides git information |
PRISM_GIT_DIRTY |
1 |
0 skips the uncommitted-changes check. Try this if prompts feel slow in very large repositories or in Git Bash on Windows. |
PRISM_ASCII |
0 |
1 uses > and x instead of ❯ and ✗ |
PRISM_COMPACT |
0 |
1 removes the blank line between commands |
PRISM_SYMBOL |
❯ |
Your own prompt symbol |
PRISM_ERROR_SYMBOL |
✗ |
Your own failure mark |
PRISM_ON / PRISM_VIA |
on / via |
Words before the branch and the virtualenv |
PRISM_BANNER |
matrix |
Startup logo: matrix (animated), logo or none |
PRISM_HOME |
/opt/prism-shell |
Where the POSIX prompt looks for the bash version (containers) |
In PowerShell, set them with $env:PRISM_GIT_DIRTY = '0'.
Palettes
| Palette |
Background |
Text |
Red, green, yellow, blue, magenta, cyan |
| Prism Dark |
#14161f |
#d6dbe6 |
#f0717a #8fd694 #f2c879 #6fa8ff #c39bff #6fdcd6 |
| Prism Midnight |
#0b0d14 |
#e4e8f1 |
#ff6b77 #7ee08a #ffd166 #5c9dff #b98aff #4fe0d8 |
| Prism Matrix |
#030806 |
#b6f5c6 |
#ff6e6e #3ee07f #d4e86a #5ab4e6 #b99cff #4ef0c0 |
| Prism Ember |
#1a1210 |
#f0dccf |
#f2665e #a8c96b #f5b95a #7aa6d9 #d68ac2 #6fc2b6 |
| Prism Ocean |
#0b1622 |
#d3e4f2 |
#ef6f7d #6fd3a2 #f0cf7a #4fa3f7 #a58cf5 #4cc9f0 |
| Prism Aurora |
#0f1419 |
#dfe7ea |
#f07891 #7ff2c4 #e6d784 #78a9ff #c792ea #66e0e6 |
| Prism Dusk |
#1b1526 |
#e6dcf2 |
#ff6f91 #9be29b #f7c873 #8aa8ff #ff8bd1 #7fd8e8 |
| Prism High Contrast |
#000000 |
#ffffff |
#ff5555 #55ff55 #ffff55 #6ca6ff #ff66ff #55ffff |
| Prism Light |
#f7f8fb |
#2b3040 |
#c8323f #2f8a3b #9a6a00 #2f62d6 #8a45d1 #0f8580 |
| Prism Paper |
#fbf7ef |
#3a342c |
#b8322c #3f7d2a #8a6400 #2f5fae #8e3f9c #1f7a78 |
Every palette is tested to keep text readable: the main text color must reach a 7:1 contrast ratio
against the background, and the other colors at least 2.8:1. Palettes are defined in
palette/palettes.json. After editing that file, run npm run build to
regenerate the vscode/terminal-colors-*.json files.
Development
You need Node.js 18 or later. There are no npm dependencies.
npm test # palette and contrast checks, logo, shell syntax, prompt safety
npm run build # regenerate vscode/terminal-colors-*.json from the palettes
npm run check # fail if the generated file is out of date (used in CI)
Building and releasing the extension
npm run package # produces prism-shell-<version>.vsix
code --install-extension prism-shell-*.vsix
To release, bump version in package.json, add a CHANGELOG.md entry, then push a tag:
git tag v0.3.0 && git push --tags. The release workflow runs the tests, attaches the .vsix to
a GitHub release, and publishes to the VS Code Marketplace and Open VSX when the VSCE_PAT and
OVSX_PAT repository secrets are set.
Project layout
palette/ the color palettes (source of truth)
images/ extension icon / logo
shells/ prompt scripts, one folder per shell (common/ holds the startup banner)
install/ installers for bash/zsh and PowerShell
vscode/ generated color settings and recommended settings
docker/ Dev Container and Dockerfile examples
src/ the VS Code extension (controls, welcome screen, profile setup)
scripts/ build tooling
tests/ node:test suite
Contributing
Bug reports, new shells (fish, nushell, cmd…) and palette variants are welcome. See
CONTRIBUTING.md.
License
MIT