diff --git a/stderred/README.md b/stderred/README.md new file mode 100644 index 0000000..cc94ddf --- /dev/null +++ b/stderred/README.md @@ -0,0 +1,3 @@ +Makes all your stderr messages red! + +To install, just run `install.sh`. diff --git a/stderred/install.sh b/stderred/install.sh new file mode 100755 index 0000000..13f66fa --- /dev/null +++ b/stderred/install.sh @@ -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/ diff --git a/local/lib64/stderred.so b/stderred/stderred.so similarity index 100% rename from local/lib64/stderred.so rename to stderred/stderred.so