cd /opt git clone git://github.com/sickill/stderred.git cd sterred make case "$LD_PRELOAD" in *libstderred.so*) ;; *) echo 'export LD_PRELOAD="/absolute/path/to/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"'>>$HOME/.zprofile;; esac