plays a random sound upon a command failing
- Shell 100%
| audio | ||
| play_random.sh | ||
| README.md | ||
error-lobotomy
A small bash script to play a random sound from the audio folder when a command fails. Only tested on Linux.
Installation
- Clone the repo somewhere permanent on your filesystem
- Add/remove mp3 files of your choosing from the audio folder
- Add the following to your
.bashrc,.zshrc, or equivalent:
trap '~/Code/error-lobotomy/play_random.sh' ERR
None of the sound effects included are my own work