Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 662 Bytes

File metadata and controls

17 lines (14 loc) · 662 Bytes

Using ErrorScream

You can source the script in your bashrc. Or write an alias to source the script for your particular terminal session.

Want to mess with a developer on your team? Put this in their bashrc. 🤡

Program will do no harm to your computer.

How does it work?
trap <code> ERR
Runs a line of code if there is an error before presenting the output of your command.
This project traps on err and uses say for a mac to shout the last entry of the history command.

Installation

git clone https://github.com/MichaelDimmitt/ERRORSCREAM.git; cd ERRORSCREAM; cat scream_we_all_scream_for_sh.sh; . scream_we_all_scream_for_sh.sh;