Merged CIP and HOME

This commit is contained in:
Sheppy
2016-11-03 00:36:47 +01:00
2 changed files with 9 additions and 2 deletions

8
fix_stderrlib.py Normal file
View File

@@ -0,0 +1,8 @@
import os
rc = open("zshrc",'w+')
old = open("zshrc_old",'r')
for line in old:
if line.startswith("LD_PRELOAD="):
line = "LD_PRELOAD='"+os.getcwd()+"/libcoloredstderr.so'\n"
rc.write(line)

3
zshrc Executable file → Normal file
View File

@@ -5,8 +5,7 @@ PS1=$'%F{yellow}%m%f%F{red}:%f%F{cyan}%~%f\n'$CMD_START #promt
#coloring stderr, causes problems in output odering
#exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
#better by rudi_s
LD_PRELOAD='/home/cip/2013/ik15ydit/.config/libcoloredstderr.so'
COLORED_STDERR_FDS=2,
LD_PRELOAD='/home/ik15ydit/.config'COLORED_STDERR_FDS=2,
export LD_PRELOAD COLORED_STDERR_FDS
#markingbird