diff options
author | Jon Bernard <jbernard@tuxion.com> | 2012-01-22 16:30:02 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2012-01-22 16:30:02 -0500 |
commit | 58da9a469d4553dad6c617b730d0bdff032e793b (patch) | |
tree | 45b252e31ab272f2398b2b613183e0fdd202fd4b | |
parent | 62fe5122a4f82b6a5f65a6a666ce469753fd2553 (diff) | |
download | dotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.tar.gz dotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.tar.bz2 dotfiles-58da9a469d4553dad6c617b730d0bdff032e793b.zip |
Allow ~ in configuration file external targets
-rw-r--r-- | dotfiles/core.py | 3 |
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): |