autofix for new installs

This commit is contained in:
Sheppy
2016-11-02 22:23:12 +01:00
parent 24c790d453
commit b347fb0dcc
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()+"'"
rc.write(line)