aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2012-01-22 16:30:02 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2012-01-22 16:30:02 -0500
commit58da9a469d4553dad6c617b730d0bdff032e793b (patch)
tree45b252e31ab272f2398b2b613183e0fdd202fd4b
parent62fe5122a4f82b6a5f65a6a666ce469753fd2553 (diff)
downloaddotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.tar.gz
dotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.tar.bz2
dotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.zip
Allow ~ in configuration file external targets
-rw-r--r--dotfiles/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py
index daf06f1..3a6b8f2 100644
--- a/dotfiles/core.py
+++ b/dotfiles/core.py
@@ -96,7 +96,8 @@ class Dotfiles(object):
os.path.join(self.repository, dotfile), self.homedir))
for dotfile in self.externals.keys():
- self.dotfiles.append(Dotfile(dotfile, self.externals[dotfile],
+ self.dotfiles.append(Dotfile(dotfile,
+ os.path.expanduser(self.externals[dotfile]),
self.homedir))
def _fqpn(self, dotfile):