1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 07:40:44 +00:00

adding dotfile specific variables for templating

This commit is contained in:
deadc0de6
2019-05-02 11:23:52 +02:00
parent d7168285a5
commit ad10adef5d
7 changed files with 122 additions and 35 deletions

View File

@@ -43,8 +43,8 @@ class Dotfile:
def get_vars(self):
"""return this dotfile templating vars"""
_vars = {}
_vars['_dotfile_src'] = self.src
_vars['_dotfile_dst'] = self.dst
_vars['_dotfile_abs_src'] = self.src
_vars['_dotfile_abs_dst'] = self.dst
return _vars
def __str__(self):