mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 07:21:37 +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)
|
||||
Reference in New Issue
Block a user