|
|
@ -22,7 +22,11 @@ def main(*, dot_files=DOT_FILES_DIR, home_dir=HOME_DIR):
|
|
|
|
for filename in walk_files(dot_files):
|
|
|
|
for filename in walk_files(dot_files):
|
|
|
|
dot_file = path.join(dot_files, filename)
|
|
|
|
dot_file = path.join(dot_files, filename)
|
|
|
|
new_file = path.join(home_dir, '.' + filename)
|
|
|
|
new_file = path.join(home_dir, '.' + filename)
|
|
|
|
|
|
|
|
try:
|
|
|
|
link_to(dot_file, new_file)
|
|
|
|
link_to(dot_file, new_file)
|
|
|
|
|
|
|
|
except ExistingSymlinkError as err:
|
|
|
|
|
|
|
|
print(err)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def walk_directories(directory):
|
|
|
|
def walk_directories(directory):
|
|
|
|
visited = set()
|
|
|
|
visited = set()
|
|
|
|