Error Sound — srdevpankaj
Plays a funny sound every time a terminal command fails. Stay sane while debugging.
Keywords: terminal error sound, VS Code error alert, command failure notification, funny error sound, developer productivity, terminal bell replacement, shell error notification
What It Does
Whenever a terminal command exits with a non-zero exit code (i.e., it fails), this extension automatically plays a sound. No more staring at a silent terminal wondering if something broke — you'll hear it.
Features
- Plays a sound automatically on every terminal command failure
- 9 hilarious sounds to choose from
- Change sound via Command Palette or VS Code Settings
- Test your selected sound without running a failing command
- Cooldown between plays so you're not spammed on repeated errors
- Works on Windows, macOS, and Linux
- Zero performance impact — runs only when a command exits
Sounds
| Sound Name |
Description |
| Abey Saale |
Classic Hindi exclamation of disbelief |
| Had Diya |
"You've crossed the line" |
| Kitane Tejasvi Log Hain |
Sarcastic "how talented these people are" |
| Kuch Bhi |
"Anything goes" — pure exasperation |
| Fahhh |
The sound of giving up |
| Wow |
Deadpan, unimpressed wow |
| What The Fuck |
Self-explanatory |
| Fairy Ahhh |
Magical disappointment |
| Ahhhhh |
Raw, unfiltered frustration |
How to Change the Sound
Option 1 — Command Palette (Quickest)
- Open the Command Palette:
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)
- Type:
Error Sound: Select Sound
- Press
Enter
- Pick your sound from the list — it applies immediately
Option 2 — VS Code Settings UI
- Open Settings:
Ctrl+, (Windows/Linux) or Cmd+, (macOS)
- Search for:
errorSound
- Under Error Sound: Selected Sound, choose from the dropdown
Option 3 — Settings JSON
Add or update this in your settings.json:
"errorSound.selectedSound": "what_the_fuck"
Available values:
abey_saale · had_diya · kitane_tejswi_log_hai · kuch_bhi · fahhh · wow · what_the_fuck · fairy_ahhh · ahhhhh
Test Your Sound
- Open Command Palette:
Ctrl+Shift+P / Cmd+Shift+P
- Run:
Error Sound: Test Sound
This plays your currently selected sound immediately — no need to run a failing command.
Requirements
- VS Code 1.93 or higher — required for shell integration (
onDidEndTerminalShellExecution)
- Shell integration is enabled by default for bash, zsh, fish, and PowerShell in VS Code 1.93+
- On Linux:
mpg123 or pulseaudio must be installed for sound playback
Verify Shell Integration Is Active
Open a terminal in VS Code and check the right side of the terminal tab — you should see a shell integration indicator. If not, add this to your shell config:
- bash (
~/.bashrc): . "$(code --locate-shell-integration-path bash)"
- zsh (
~/.zshrc): . "$(code --locate-shell-integration-path zsh)"
- PowerShell (
$PROFILE): . "$(code --locate-shell-integration-path pwsh)"
Extension Settings
| Setting |
Default |
Description |
errorSound.selectedSound |
abey_saale |
The sound to play when a terminal command fails |
Known Issues
- Sound does not play if shell integration is disabled or unsupported in the terminal
- On Linux, requires
mpg123 or paplay to be installed
Feedback & Issues
Found a bug or want a new sound? Open an issue on GitHub
Made with frustration by srdevpankaj