mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 15:11:35 +01:00
9 lines
222 B
Python
9 lines
222 B
Python
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)
|