mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
Merged CIP and HOME
This commit is contained in:
8
fix_stderrlib.py
Normal file
8
fix_stderrlib.py
Normal 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
3
zshrc
Executable file → Normal 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
|
||||
|
||||
Reference in New Issue
Block a user