mirror of
https://github.com/FAUSheppy/config
synced 2025-12-09 08:08:32 +01:00
autofix for new installs
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()+"'"
|
||||||
|
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
|
#coloring stderr, causes problems in output odering
|
||||||
#exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
|
#exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
|
||||||
#better by rudi_s
|
#better by rudi_s
|
||||||
LD_PRELOAD='/home/cip/2013/ik15ydit/.config/libcoloredstderr.so'
|
LD_PRELOAD='/home/ik15ydit/.config'COLORED_STDERR_FDS=2,
|
||||||
COLORED_STDERR_FDS=2,
|
|
||||||
export LD_PRELOAD COLORED_STDERR_FDS
|
export LD_PRELOAD COLORED_STDERR_FDS
|
||||||
|
|
||||||
#seperation string between commands
|
#seperation string between commands
|
||||||
|
|||||||
Reference in New Issue
Block a user