home_file_types = (("profile", "sh"), ("shellrc", "sh"), ("fvwm2rc", "fvwm2m4"),
("mailcap", "conf"), ("mime.types", "conf"),
("muttrc", "muttrc"), ("procmailrc", "procmail"),
- ("vimrc", "vim"),
- ("init.py", "python"), ("pdbrc", "python"), ("pdbrc.py", "python"))
+ ("vimrc", "vim"))
mc_file_types = (("bindings", "conf"), ("menu", "conf"))
+python_file_types = (("init.py", "python"),
+ ("pdbrc", "python"), ("pdbrc.py", "python"))
+
def process_dotfile(i, fname, ftype, file_types):
if os.path.exists('.' + fname) and not os.path.exists(fname):
shutil.copy2('.' + fname, fname)
process_files(home_file_types)
process_files(mc_file_types)
+process_files(python_file_types)