A simple library that will spice up your stderr output.
libemotify-stderr replaces stderr file descriptor with a pipe and processes program output before redirecting it back to original stderr. All this to add emojis at the start of error lines. Or to make them colorful.
Library is built using cmake and make. In repository directory:
mkdir build
cd build
cmake ..
make
Add the built .so to your LD_PRELOAD
:
export LD_PRELOAD=/path/to/libemotify-stderr.so
or
LD_PRELOAD=/path/to/libemotify-stderr.so command
EMOJIFY_COLORS=1
will enable coloring of the stderr outputEMOJIFY_REACTS=0
will disable emojis
- git (and some other programs probably) uses stderr for output and doesn't like this lib 😠