diff options
-rw-r--r-- | dotfiles/core.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py index d13c9f4..8ef0782 100644 --- a/dotfiles/core.py +++ b/dotfiles/core.py @@ -187,7 +187,11 @@ class Dotfiles(object): """Synchronize this repository, creating and updating the necessary symbolic links.""" - for dotfile in self.dotfiles: + # unless a set of files is specified, operate on all files + if not files: + files = self.dotfiles + + for dotfile in files: dotfile.sync(force) def add(self, files): |