Fix a problem which caused LD_PRELOAD not beeing set on any machine

This commit is contained in:
Sheppy
2017-05-16 23:20:55 +02:00
parent 9f40b40e89
commit 5752a66875

2
zshrc
View File

@@ -12,7 +12,7 @@ HISTFILE=~/.config/zshhistory.log
### COLOR STDERR ### ### COLOR STDERR ###
#legacy, this causes problems in output odering exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & ) #legacy, this causes problems in output odering exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
if [[ NO_LDPRELOAD == false ]]; then if [[ $NO_LDPRELOAD == false ]]; then
LD_PRELOAD="$HOME/.config/libcoloredstderr.so" LD_PRELOAD="$HOME/.config/libcoloredstderr.so"
COLORED_STDERR_FDS=2, COLORED_STDERR_FDS=2,
export LD_PRELOAD COLORED_STDERR_FDS export LD_PRELOAD COLORED_STDERR_FDS