Plays a bundled audio alert whenever an unknown command (exit code 127) is run in the VS Code terminal. Override with your own audio file via Settings.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Plays a bundled audio alert whenever you type an unknown command in the VS Code integrated terminal. No configuration needed — it works out of the box.
Features
Detects exit code 127 (POSIX standard for "command not found") via the VS Code Shell Integration API.
Plays a bundled alert sound with zero configuration needed.
Override with any custom audio file via the cidAcp.audioFilePath setting.
Set Audio File Path to the absolute path of your audio file.
Open a terminal and type any garbage command — your sound will play!
Known Limitations
Audio playback relies on system-level CLI tools (afplay, aplay, powershell). These are pre-installed on their respective platforms but require a working audio device.
Shell Integration must be active for exit codes to be detected. If it's disabled, the extension will not fire.