From e38e021ab324ea676a285ac4667f1fba1469a6bf Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Tue, 31 Dec 2019 19:14:23 -0500 Subject: Add option to clean recursively --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 00094aa..ca7242d 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,9 @@ Clean commands are specified as an array of directories to be cleaned. Clean commands support an extended configuration syntax. In this type of configuration, commands are specified as directory paths mapping to options. If the `force` option is set to `true`, dead links are removed even if they don't -point to a file inside the dotfiles directory. +point to a file inside the dotfiles directory. If `recursive` is set to `true`, +the directory is traversed recursively (not recommended for `~` because it will +be slow). #### Example @@ -311,8 +313,10 @@ point to a file inside the dotfiles directory. - clean: ['~'] - clean: - ~/.config: + ~/: force: true + ~/.config: + recursive: true ``` ### Defaults -- cgit v1.2.3