mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 23:41:34 +01:00
another bug with LDpreload
This commit is contained in:
@@ -4,5 +4,5 @@ rc = open("zshrc",'w+')
|
|||||||
old = open("zshrc_old",'r')
|
old = open("zshrc_old",'r')
|
||||||
for line in old:
|
for line in old:
|
||||||
if line.startswith("LD_PRELOAD="):
|
if line.startswith("LD_PRELOAD="):
|
||||||
line = "LD_PRELOAD='"+os.getcwd()+"'\n"
|
line = "LD_PRELOAD='"+os.getcwd()+"/libcoloredstderr.so'\n"
|
||||||
rc.write(line)
|
rc.write(line)
|
||||||
|
|||||||
Reference in New Issue
Block a user