https://github.com/md-command-line/errorscream
stdout to error
https://github.com/md-command-line/errorscream
Last synced: 12 months ago
JSON representation
stdout to error
- Host: GitHub
- URL: https://github.com/md-command-line/errorscream
- Owner: md-command-line
- Created: 2018-09-08T01:38:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-22T01:00:29.000Z (over 2 years ago)
- Last Synced: 2024-12-30T12:12:27.191Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## 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 `` 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;