jbernard / dotfiles

Dotfile management made easy
https://pypi.org/project/dotfiles/
Other
577 stars 61 forks source link

Resolve env variables in .dotfilesrc #63

Open maxwassiljew opened 7 years ago

maxwassiljew commented 7 years ago

This example would lead to an error:

[dotfiles]
    repository = $HOME/dev/src/dotfiles
ignore = [
    '.git',
    '.gitignore',
    '*.swp',
        'README.md']

Error: Could not find dotfiles repository "/home/xyz/$HOME/dev/src/dotfiles"

simmel commented 5 years ago

~ can be used instead of $HOME. So e.g:

[dotfiles]
    repository = ~/dev/src/dotfiles

in your case.