Clean up and add installation for liberred.
This commit is contained in:
parent
2e1087a7a8
commit
bd95a93220
3
stderred/README.md
Normal file
3
stderred/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Makes all your stderr messages red!
|
||||
|
||||
To install, just run `install.sh`.
|
7
stderred/install.sh
Executable file
7
stderred/install.sh
Executable 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/
|
Loading…
Reference in New Issue
Block a user