Clean up and add installation for liberred.

This commit is contained in:
Anna Wiggins 2017-03-17 15:34:02 -07:00
parent 2e1087a7a8
commit bd95a93220
No known key found for this signature in database
GPG Key ID: 682893DD0448ED78
3 changed files with 10 additions and 0 deletions

3
stderred/README.md Normal file
View File

@ -0,0 +1,3 @@
Makes all your stderr messages red!
To install, just run `install.sh`.

7
stderred/install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
if ! grep 'stderred.so' ~/.bash_profile; then
echo 'export LD_PRELOAD=$LD_PRELOAD:"~/.local/lib64/stderred.so"' >> ~/.bash_profile
fi
mkdir -p ~/.local/lib64
cp stderred.so ~/.local/lib64/