From 58da9a469d4553dad6c617b730d0bdff032e793b Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sun, 22 Jan 2012 16:30:02 -0500 Subject: Allow ~ in configuration file external targets --- dotfiles/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.3