1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 14:58:48 +00:00

implement link_install_default for #110

This commit is contained in:
deadc0de6
2019-03-27 13:33:01 +01:00
parent 652d556be1
commit 509a7c1848
7 changed files with 195 additions and 19 deletions

View File

@@ -112,7 +112,7 @@ class TestImport(unittest.TestCase):
o.import_path = dfiles
cmd_importer(o)
# import symlink
o.link = LinkTypes.PARENTS
o.link = LinkTypes.PARENT
sfiles = [dotfile6, dotfile7]
o.import_path = sfiles
cmd_importer(o)

View File

@@ -62,7 +62,7 @@ exec bspwm
.format(str(d.link == LinkTypes.CHILDREN).lower()))
else:
f.write(' link: {}\n'
.format(str(d.link == LinkTypes.PARENTS).lower()))
.format(str(d.link == LinkTypes.PARENT).lower()))
if len(d.actions) > 0:
f.write(' actions:\n')
for action in d.actions: